Parcourir la source

quick bugfix introduced by #441

Martin Landa il y a 5 ans
Parent
commit
c729145468
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      gui/wxpython/gmodeler/model.py

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

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