Skip to content

Commit

Permalink
Fix reloading of subdirectory plugins
Browse files Browse the repository at this point in the history
  • Loading branch information
linuxdaemon committed Nov 14, 2017
1 parent ea7ba2d commit 7a810a2
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 7a810a2

Please sign in to comment.