svgui/pyjs/__init__.py
author Edouard Tisserant
Mon, 31 Aug 2020 13:54:08 +0200
changeset 2706 65f35ac97cd6
parent 1853 47a3f39bead0
permissions -rw-r--r--
Attempt to workaround problem reported about empty plc.xml after unrelated crash. Now, if etree model is corrupted in a way tostring() would generate an empty string, exception prevents saving.
1853
47a3f39bead0 fix pylint warning "(relative-import) Relative import 'Y', should be 'X.Y'"
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1748
diff changeset
     1
from __future__ import absolute_import
47a3f39bead0 fix pylint warning "(relative-import) Relative import 'Y', should be 'X.Y'"
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1748
diff changeset
     2
from svgui.pyjs.pyjs import *