aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Wichser <blast007@users.sourceforge.net>2019-01-23 22:57:21 +0000
committerScott Wichser <blast007@users.sourceforge.net>2019-01-23 22:57:21 +0000
commitb006a4f329962555cfa10fe3bef7cfd3a29480c0 (patch)
tree3d72cfc8c164efc4d6a55fb757059c1bb4589b60
parentd85f5f6e634b80416e0cee1c80377978c6f9f6c1 (diff)
downloadsupybot_github-b006a4f329962555cfa10fe3bef7cfd3a29480c0.tar.gz
supybot_github-b006a4f329962555cfa10fe3bef7cfd3a29480c0.tar.bz2
supybot_github-b006a4f329962555cfa10fe3bef7cfd3a29480c0.zip
Import the reload module in plugin.py so it doesn't error our when the bot shuts down.
-rw-r--r--plugin.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/plugin.py b/plugin.py
index 1e367a4..e5010c9 100644
--- a/plugin.py
+++ b/plugin.py
@@ -50,6 +50,8 @@ from .local import globals
from .local.handler import GithubHandler as RequestHandler
from .local import utility as Utility
+from imp import reload
+
globals.init()

© 2014-2024 Faster IT GmbH | imprint | privacy policy