From 69749a958cad436ec6a6258bcfc7ff8f94f70aad Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Sat, 25 Jul 2020 17:29:29 +0100 Subject: [PATCH] Capital --- theme.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/theme.py b/theme.py index f2fc9958..46c760d7 100644 --- a/theme.py +++ b/theme.py @@ -122,8 +122,8 @@ def setBackgroundFormat(baseDir: str, name: str, extension: str) -> None: with open(cssFilename, 'r') as cssfile: css = cssfile.read() css.replace('-background.png', '-background.' + extension) - with open(cssfilename, 'w+') as cssfile: - cssfile.write(css) + with open(cssFilename, 'w+') as cssfile2: + cssfile2.write(css) def enableGrayscale(baseDir: str) -> None: