From 7a810a25224f8814dfb2728802b4c3c6eae95fb2 Mon Sep 17 00:00:00 2001 From: linuxdaemon Date: Tue, 14 Nov 2017 17:43:12 -0600 Subject: [PATCH] Fix reloading of subdirectory plugins --- cloudbot/reloader.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cloudbot/reloader.py b/cloudbot/reloader.py index 816bdc509..078c2c89a 100644 --- a/cloudbot/reloader.py +++ b/cloudbot/reloader.py @@ -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):