From be398496938cf08931b94e6d1dbbd5144b375bef Mon Sep 17 00:00:00 2001 From: Tanner Collin Date: Fri, 13 Oct 2017 00:13:30 -0600 Subject: [PATCH] Fix bug where sync thread wouldn't start when backgrounded The clue was here: https://github.com/terencehonles/fusepy/blob/0eafeb557e0e70926ed9450008ef17057d302391/fuse.py#L861 --- sn_fuse.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sn_fuse.py b/sn_fuse.py index 0cb96d1..099eb4a 100644 --- a/sn_fuse.py +++ b/sn_fuse.py @@ -34,6 +34,8 @@ class StandardNotesFUSE(LoggingMixIn, Operations): self.run_sync = Event() self.stop_sync = Event() self.sync_thread = Thread(target=self._syncThread) + + def init(self, path): self.sync_thread.start() def destroy(self, path):