Browse Source

quick bugfix introduced by #441

Martin Landa 5 years ago
parent
commit
5e17548380
1 changed files with 1 additions and 1 deletions
  1. 1 1
      gui/wxpython/gmodeler/model.py

+ 1 - 1
gui/wxpython/gmodeler/model.py

@@ -313,7 +313,7 @@ class Model(object):
         try:
             gxmXml = ProcessModelFile(etree.parse(filename))
         except Exception as e:
-            raise GException(e)
+            raise GException('{}'.format(e))
 
         if self.canvas:
             win = self.canvas.parent