aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--grs/Interpret.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/grs/Interpret.py b/grs/Interpret.py
index 2bf880c..a42400d 100644
--- a/grs/Interpret.py
+++ b/grs/Interpret.py
@@ -94,8 +94,9 @@ class Interpret(Daemon):
_lo.log(_line)
return
try:
- f(*args)
- except Exception as err:
+ func(*args)
+ except Exception as excpt:
+ err = excpt
pass
else:
err = 'Number of parameters incorrect.'