diff -r f9d32913bad4 -r 45d6f5fba016 svgui/pyjs/build.py --- a/svgui/pyjs/build.py Wed Aug 16 11:47:27 2017 +0300 +++ b/svgui/pyjs/build.py Wed Aug 16 12:03:46 2017 +0300 @@ -138,19 +138,17 @@ """ - filename = os.path.split ( source_file )[1] - mod_name = os.path.splitext ( filename )[0] - file_name = os.path.join ( dest_path, mod_name + '.html' ) + filename = os.path.split (source_file)[1] + mod_name = os.path.splitext(filename)[0] + file_name = os.path.join (dest_path, mod_name + '.html') # if html file in output directory exists, leave it alone. - if os.path.exists ( file_name ): + if os.path.exists (file_name): return 0 - if os.path.exists ( - os.path.join ( dest_path, mod_name + '.css' ) ): + if os.path.exists(os.path.join(dest_path, mod_name + '.css')): css = "" - elif os.path.exists ( - os.path.join ( dest_path, 'pyjamas_default.css' ) ): + elif os.path.exists(os.path.join(dest_path, 'pyjamas_default.css')): css = "" else: