mirror of https://gitlab.com/bashrc2/epicyon
Update css variable
parent
a428372e8e
commit
aaefa01adf
2
theme.py
2
theme.py
|
@ -121,7 +121,7 @@ def setBackgroundFormat(baseDir: str, name: str, extension: str) -> None:
|
||||||
continue
|
continue
|
||||||
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 = css.replace('background.png', 'background.' + extension)
|
||||||
with open(cssFilename, 'w+') as cssfile2:
|
with open(cssFilename, 'w+') as cssfile2:
|
||||||
cssfile2.write(css)
|
cssfile2.write(css)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue