dialogs/ForceVariableDialog.py
changeset 1780 c52d1460cea8
parent 1768 691083b5682a
child 1782 5b6ad7a7fd9d
--- a/dialogs/ForceVariableDialog.py	Sat Aug 19 17:17:54 2017 +0300
+++ b/dialogs/ForceVariableDialog.py	Sat Aug 19 18:12:20 2017 +0300
@@ -41,7 +41,7 @@
     def get_function(v):
         try:
             return f(v)
-        except:
+        except Exception:
             return None
     return get_function