Update css variable

main
Bob Mottram 2020-07-25 18:21:59 +01:00
parent a428372e8e
commit aaefa01adf
1 changed files with 1 additions and 1 deletions

View File

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