From fd6622b872fce1300d0d2043d3ed3bba15c7759c Mon Sep 17 00:00:00 2001 From: kongr45gpen Date: Mon, 31 May 2021 03:28:20 +0300 Subject: Fix reloads on pythonv3 --- __init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '__init__.py') 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! -- cgit v1.2.3