diff options
author | Lars Wirzenius <liw@liw.fi> | 2021-04-24 13:10:02 +0300 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2021-04-24 13:10:02 +0300 |
commit | 80656e8cf2c564f0cea09ab16aa8e9b89a69910c (patch) | |
tree | f2137e95fb74334dd2b49bc1cd5ef5c532cddb39 /share | |
parent | b2fd7374cc75629080c96c6035ac4f412858abca (diff) | |
download | subplot-80656e8cf2c564f0cea09ab16aa8e9b89a69910c.tar.gz |
fix: format string
Diffstat (limited to 'share')
-rw-r--r-- | share/python/template/main.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/share/python/template/main.py b/share/python/template/main.py index 3d98024..513db9e 100644 --- a/share/python/template/main.py +++ b/share/python/template/main.py @@ -11,7 +11,7 @@ class MultilineFormatter(logging.Formatter): def format(self, record): s = super().format(record) lines = list(s.splitlines()) - return lines.pop(0) + "\n".join(" %w" % line for line in lines) + return lines.pop(0) + "\n".join(" %s" % line for line in lines) def log_dict(d, msg, level=0): |