diff --git a/build_gui.py b/build_gui.py index 1e43ffa..80da470 100644 --- a/build_gui.py +++ b/build_gui.py @@ -6,6 +6,8 @@ from bs4 import BeautifulSoup, Tag from jsmin import jsmin from csscompressor import compress +IGNORED = 'gui//webui.js' + if __name__ == '__main__': # html input param html = sys.argv[1] @@ -49,7 +51,7 @@ if __name__ == '__main__': with open('.temp.js', 'w') as outfileScript: for fname in scriptsSrc: # add space every script - if fname != 'gui//webui.js': + if fname not in IGNORED: outfileScript.write('\n') with open(fname) as infile: for line in infile: