- commit
- bf490e6432daea2abc4f2106bcf282c99385a1f1
- parent
- e1df35692257dc2fe4b9f3eaa79093f813c56239
- Author
- Tobias Bengfort <bengfort@mpib-berlin.mpg.de>
- Date
- 2026-04-13 09:24
lint: ambigous variable name
Diffstat
| M | simplecharts.py | 2 | +- |
1 files changed, 1 insertions, 1 deletions
diff --git a/simplecharts.py b/simplecharts.py
@@ -54,7 +54,7 @@ class BaseRenderer: 54 54 if content: 55 55 if '\n' in content: 56 56 lines = content.strip().split('\n')57 -1 content = '\n' + '\n'.join('\t' + l for l in lines) + '\n'-1 57 content = '\n' + '\n'.join('\t' + line for line in lines) + '\n' 58 58 return f'<{tag}{self.attrs(**attrs)}>{content}</{tag}>\n' 59 59 else: 60 60 return f'<{tag}{self.attrs(**attrs)} />\n'