From b2b11eadada94541247a033a357f0799a6bc92ce Mon Sep 17 00:00:00 2001 From: Ben Kurtovic Date: Fri, 10 Aug 2012 21:27:47 -0400 Subject: [PATCH] Fix a watcher bug. --- earwigbot/irc/watcher.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/earwigbot/irc/watcher.py b/earwigbot/irc/watcher.py index d7f5ff8..dbb1150 100644 --- a/earwigbot/irc/watcher.py +++ b/earwigbot/irc/watcher.py @@ -94,7 +94,7 @@ class Watcher(IRCConnection): except ImportError: return try: - module = imp.load_module(name, f, path, desc) + module = imp.load_module("rules", f, path, desc) except Exception: return finally: