summaryrefslogtreecommitdiffstats
path: root/color.py
diff options
context:
space:
mode:
Diffstat (limited to 'color.py')
-rw-r--r--color.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/color.py b/color.py
index e3e2a5f3..77517156 100644
--- a/color.py
+++ b/color.py
@@ -194,7 +194,7 @@ class Coloring:
194 if not opt: 194 if not opt:
195 return _Color(fg, bg, attr) 195 return _Color(fg, bg, attr)
196 196
197 v = self._config.GetString("%s.%s" % (self._section, opt)) 197 v = self._config.GetString(f"{self._section}.{opt}")
198 if v is None: 198 if v is None:
199 return _Color(fg, bg, attr) 199 return _Color(fg, bg, attr)
200 200