ソースを参照

quick bugfix introduced by #441

Martin Landa 5 年 前
コミット
5e17548380
1 ファイル変更1 行追加1 行削除
  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