forked from indymedia/epicyon
Capital
parent
107d7be5ea
commit
69749a958c
4
theme.py
4
theme.py
|
@ -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:
|
||||||
|
|
Loading…
Reference in New Issue