From 7de38bcf18f39161539b523cb638535f186dfa15 Mon Sep 17 00:00:00 2001 From: Ben Date: Tue, 4 Jun 2019 20:54:24 +0100 Subject: [PATCH] Make watchdog paths absolute --- houdini/houdini.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/houdini/houdini.py b/houdini/houdini.py index 621c3bf..6d868a9 100644 --- a/houdini/houdini.py +++ b/houdini/houdini.py @@ -206,8 +206,8 @@ class Houdini: self.permissions = await PermissionCrumbsCollection.get_collection() - handlers_path = './houdini{}handlers'.format(os.path.sep) - plugins_path = './houdini{}plugins'.format(os.path.sep) + handlers_path = os.path.join(os.path.dirname(__file__), 'handlers') + plugins_path = os.path.join(os.path.dirname(__file__), 'plugins') self.configure_observers([handlers_path, ListenerFileEventHandler], [plugins_path, PluginFileEventHandler])