mirror of
https://github.com/solero/houdini.git
synced 2024-11-22 05:27:23 +00:00
Make watchdog paths absolute
This commit is contained in:
parent
82ab2b8ad6
commit
7de38bcf18
@ -206,8 +206,8 @@ class Houdini:
|
|||||||
|
|
||||||
self.permissions = await PermissionCrumbsCollection.get_collection()
|
self.permissions = await PermissionCrumbsCollection.get_collection()
|
||||||
|
|
||||||
handlers_path = './houdini{}handlers'.format(os.path.sep)
|
handlers_path = os.path.join(os.path.dirname(__file__), 'handlers')
|
||||||
plugins_path = './houdini{}plugins'.format(os.path.sep)
|
plugins_path = os.path.join(os.path.dirname(__file__), 'plugins')
|
||||||
self.configure_observers([handlers_path, ListenerFileEventHandler],
|
self.configure_observers([handlers_path, ListenerFileEventHandler],
|
||||||
[plugins_path, PluginFileEventHandler])
|
[plugins_path, PluginFileEventHandler])
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user