aboutsummaryrefslogtreecommitdiffstats
path: root/__init__.py
diff options
context:
space:
mode:
authorkongr45gpen <electrovesta@gmail.com>2021-05-31 03:28:20 +0300
committerkongr45gpen <electrovesta@gmail.com>2021-05-31 03:28:20 +0300
commitfd6622b872fce1300d0d2043d3ed3bba15c7759c (patch)
tree1ebd2f8693ba7836be31ba8a63c84eaa92544c81 /__init__.py
parent5c2f8206d298ba45f66888e6b8db2541149af1c0 (diff)
downloadsupybot_github-fd6622b872fce1300d0d2043d3ed3bba15c7759c.tar.gz
supybot_github-fd6622b872fce1300d0d2043d3ed3bba15c7759c.tar.bz2
supybot_github-fd6622b872fce1300d0d2043d3ed3bba15c7759c.zip
Fix reloads on pythonv3
Diffstat (limited to '__init__.py')
-rw-r--r--__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/__init__.py b/__init__.py
index 97f40ae..107636d 100644
--- a/__init__.py
+++ b/__init__.py
@@ -25,7 +25,7 @@ __url__ = 'https://github.com/kongr45gpen/supybot-github'
from . import config
from . import plugin
-from imp import reload
+from importlib import reload
reload(plugin) # In case we're being reloaded.
# Add more reloads here if you add third-party modules and want them to be
# reloaded when this plugin is reloaded. Don't forget to import them as well!

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