Commit 0a86a34e authored by John (J5) Palmieri's avatar John (J5) Palmieri

fix for methods that return 0

* methods that returned 0 were displayed as if the method did not return
  anything - changing the conditional from if not result to if result is None
  fixes this
parent 0600a912
......@@ -49,7 +49,7 @@ class ExecuteMethodDialog:
# from parameter errors?
result = str(e)
if not result:
if result is None:
result = 'This method did not return anything'
result = str(result)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment