default target_user to None so the var always exists

This commit is contained in:
jesopo 2019-11-14 15:48:18 +00:00
parent f188969666
commit 7628e6f7fc

View file

@ -17,6 +17,7 @@ class Module(ModuleManager.BaseModule):
def _find_setting(self, event): def _find_setting(self, event):
query = None query = None
target_user = None
if event["args"]: if event["args"]:
query = event["args"] query = event["args"]