Skip to content

Commit

Permalink
Merge pull request CloudBotIRC#221 from linuxdaemon/gonzobot+observer…
Browse files Browse the repository at this point in the history
…-fix

Fix reloading of subdirectory plugins
  • Loading branch information
edwardslabs authored Nov 15, 2017
2 parents ea7ba2d + 7a810a2 commit 6ed3648
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cloudbot/reloader.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ def observer(self):

class PluginReloader(Reloader):
def __init__(self, bot):
super().__init__(bot, PluginEventHandler, "[!_]*.py")
super().__init__(bot, PluginEventHandler, "[!_]*.py", recursive=True)
self.reloading = set()

def reload(self, path):
Expand Down

0 comments on commit 6ed3648

Please sign in to comment.