svgui/pyjs/build.py
changeset 2451 6d1bf321fb89
parent 2439 f0a040f1de1b
--- a/svgui/pyjs/build.py	Thu Oct 11 12:00:40 2018 +0300
+++ b/svgui/pyjs/build.py	Thu Oct 11 12:09:04 2018 +0300
@@ -184,7 +184,7 @@
         try:
             print("Creating output directory")
             os.mkdir(output)
-        except StandardError as e:
+        except OSError as e:
             print("Exception creating output directory %s: %s" % (output, e), file=sys.stderr)
 
     # public dir