svgui/pyjs/build.py
changeset 1771 f68a105000be
parent 1768 691083b5682a
child 1773 38fde37c3766
--- a/svgui/pyjs/build.py	Sat Aug 19 00:04:33 2017 +0300
+++ b/svgui/pyjs/build.py	Sat Aug 19 00:11:12 2017 +0300
@@ -143,7 +143,7 @@
     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')):
@@ -158,9 +158,9 @@
 
     base_html = base_html % {'modulename': mod_name, 'title': title, 'css': css}
 
-    fh = open (file_name, 'w')
-    fh.write  (base_html)
-    fh.close  ()
+    fh = open(file_name, 'w')
+    fh.write(base_html)
+    fh.close()
 
     return 1