From 7628e6f7fc4f1706203948d627545e77934dc40c Mon Sep 17 00:00:00 2001 From: jesopo Date: Thu, 14 Nov 2019 15:48:18 +0000 Subject: [PATCH] default `target_user` to None so the var always exists --- modules/user_time.py | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/user_time.py b/modules/user_time.py index 4f757529..c384669a 100644 --- a/modules/user_time.py +++ b/modules/user_time.py @@ -17,6 +17,7 @@ class Module(ModuleManager.BaseModule): def _find_setting(self, event): query = None + target_user = None if event["args"]: query = event["args"]