diff --git a/GoodFrench/__init__.py b/GoodFrench/__init__.py index 0043f38..a24fa75 100644 --- a/GoodFrench/__init__.py +++ b/GoodFrench/__init__.py @@ -56,6 +56,7 @@ __url__ = '' # 'http://supybot.com/Members/yourname/GoodFrench/download' from . import config from . import plugin from imp import reload +reload(config) # In case we're being reloaded. 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! diff --git a/GoodFrench/plugin.py b/GoodFrench/plugin.py index 48a690e..5604362 100644 --- a/GoodFrench/plugin.py +++ b/GoodFrench/plugin.py @@ -29,9 +29,6 @@ ### -import config -reload(config) - import re import supybot.world as world import supybot.ircmsgs as ircmsgs diff --git a/GoodFrench/test.py b/GoodFrench/test.py index bbf5051..a1464db 100644 --- a/GoodFrench/test.py +++ b/GoodFrench/test.py @@ -65,7 +65,6 @@ class GoodFrenchTestCase(ChannelPluginTestCase): try: self.assertRegexp("GoodFrench detect %s" % text, 'erreurs? : ') except AssertionError as e: - print text raise e def testMistakes(self): @@ -80,7 +79,6 @@ class GoodFrenchTestCase(ChannelPluginTestCase): try: self.assertRegexp("GoodFrench detect %s" % text, 'correcte') except AssertionError as e: - print text raise e def testNotMistakes(self):