svgui/svgui.py
changeset 1734 750eeb7230a1
parent 1732 94ffe74e6895
child 1736 7e61baa047f0
--- a/svgui/svgui.py	Mon Aug 14 21:31:01 2017 +0300
+++ b/svgui/svgui.py	Mon Aug 14 22:23:17 2017 +0300
@@ -106,7 +106,7 @@
         jsmodules = {"LiveSVGPage": "svguilib.js"}
         res += (("svguilib.js", file(svguilibpath,"rb")),)
 
-        runtimefile_path = os.path.join(buildpath, "runtime_%s.py"%location_str)
+        runtimefile_path = os.path.join(buildpath, "runtime_%s.py" % location_str)
         runtimefile = open(runtimefile_path, 'w')
         runtimefile.write(svguiservercode % {"svgfile" : "gui.svg"})
         runtimefile.write("""
@@ -122,7 +122,7 @@
       })
         runtimefile.close()
 
-        res += (("runtime_%s.py"%location_str, file(runtimefile_path,"rb")),)
+        res += (("runtime_%s.py" % location_str, file(runtimefile_path,"rb")),)
 
         return res
 
@@ -133,7 +133,7 @@
             if os.path.isfile(svgpath):
                 shutil.copy(svgpath, self._getSVGpath())
             else:
-                self.GetCTRoot().logger.write_error(_("No such SVG file: %s\n")%svgpath)
+                self.GetCTRoot().logger.write_error(_("No such SVG file: %s\n") % svgpath)
         dialog.Destroy()
 
     def _StartInkscape(self):