summaryrefslogtreecommitdiff
path: root/calc.py
diff options
context:
space:
mode:
authorNEMESIS13cz <seke94@seznam.cz>2015-09-13 03:37:40 +0200
committerNEMESIS13cz <seke94@seznam.cz>2015-09-13 03:37:40 +0200
commit4947c7edd24d5b538f37a4f295c761ea28125a46 (patch)
tree4d6986f14bc897d263a2c88ca5507c09be6c3707 /calc.py
parentd4ed851ac0a9fe76904ad5dc454b3f538c5fb1e8 (diff)
Fixed missing return
Diffstat (limited to 'calc.py')
-rw-r--r--calc.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/calc.py b/calc.py
index ed6ae12..1da634b 100644
--- a/calc.py
+++ b/calc.py
@@ -11,9 +11,9 @@ calc_perm_power = "utils.calc.power"
def calc(sender, text):
try:
- do_calc(sender, text)
+ return do_calc(sender, text)
except:
- return
+ return None
def do_calc(sender, text):
"""