diff --git a/runbullet/__init__.py b/runbullet/__init__.py index 6cf25e7a9a..440bf5ec64 100644 --- a/runbullet/__init__.py +++ b/runbullet/__init__.py @@ -78,7 +78,7 @@ def _exec_func(body, retry=True): target = body.pop('target') action = body.pop('action') - tokens action.split('.') + tokens = action.split('.') module_name = str.join('.', tokens[:-1]) method_name = tokens[-1:][0]