diff -r 19f19c66b67e -r 63f4af6bf6d9 svgui/pyjs/build.py --- a/svgui/pyjs/build.py Wed Aug 16 13:49:02 2017 +0300 +++ b/svgui/pyjs/build.py Wed Aug 16 13:56:36 2017 +0300 @@ -138,8 +138,8 @@ """ - filename = os.path.split (source_file)[1] - mod_name = os.path.splitext(filename)[0] + 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.