mirror of https://github.com/searxng/searxng.git
[mod] update_pygments -- prompt filenames of updated files
BTW: remove trailing whitespace Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
This commit is contained in:
parent
3cf97774da
commit
ec10ba7fcb
|
@ -124,13 +124,20 @@ def get_css(cssclass, style):
|
|||
|
||||
|
||||
def main():
|
||||
with open(get_output_filename('static/themes/oscar/src/less/logicodev/pygments.less'), 'w') as f:
|
||||
|
||||
fname = 'static/themes/oscar/src/less/logicodev/pygments.less'
|
||||
print("update: %s" % fname)
|
||||
with open(get_output_filename(fname), 'w') as f:
|
||||
f.write(get_css(CSSCLASS, LogicodevStyle))
|
||||
|
||||
with open(get_output_filename('static/themes/oscar/src/less/pointhi/pygments.less'), 'w') as f:
|
||||
fname = 'static/themes/oscar/src/less/pointhi/pygments.less'
|
||||
print("update: %s" % fname)
|
||||
with open(get_output_filename(fname), 'w') as f:
|
||||
f.write(get_css(CSSCLASS, 'default'))
|
||||
|
||||
with open(get_output_filename('static/themes/simple/less/pygments.less'), 'w') as f:
|
||||
fname = 'static/themes/simple/less/pygments.less'
|
||||
print("update: %s" % fname)
|
||||
with open(get_output_filename(fname), 'w') as f:
|
||||
f.write(get_css(CSSCLASS, 'default'))
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue