main
Bob Mottram 2020-07-25 17:29:29 +01:00
parent 107d7be5ea
commit 69749a958c
1 changed files with 2 additions and 2 deletions

View File

@ -122,8 +122,8 @@ def setBackgroundFormat(baseDir: str, name: str, extension: str) -> None:
with open(cssFilename, 'r') as cssfile: with open(cssFilename, 'r') as cssfile:
css = cssfile.read() css = cssfile.read()
css.replace('-background.png', '-background.' + extension) css.replace('-background.png', '-background.' + extension)
with open(cssfilename, 'w+') as cssfile: with open(cssFilename, 'w+') as cssfile2:
cssfile.write(css) cssfile2.write(css)
def enableGrayscale(baseDir: str) -> None: def enableGrayscale(baseDir: str) -> None: