Skip to content

Commit 7051a5e

Browse files
committed
Change reloader pattern to ignore files starting with _
1 parent aaac127 commit 7051a5e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

cloudbot/reloader.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ def __init__(self, bot):
1313
self.observer = Observer()
1414
self.bot = bot
1515
self.reloading = set()
16-
self.event_handler = PluginEventHandler(self, patterns=["*.py"])
16+
self.event_handler = PluginEventHandler(self, patterns=["[!_]*.py"])
1717

1818
def start(self, module_path):
1919
"""Starts the plugin reloader

0 commit comments

Comments
 (0)