combox

split and encrypted files between online file storage providers
git clone git://git.ricketyspace.net/combox.git
Log | Files | Refs

commit 30da59cd1ee1acf0018d6599983ff4a6fddb65f7
parent b0bd611fefa1813970c39cde004f0a1b5afd865f
Author: Siddharth Ravikumar <sravik@bgsu.edu>
Date:   Sat, 12 Sep 2015 23:19:10 -0400

fix for bug #8.

Diffstat:
combox/events.py | 4+++-
1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/combox/events.py b/combox/events.py @@ -513,7 +513,9 @@ class NodeDirMonitor(LoggingEventHandler): file_cb_path = cb_path(event.src_path, self.config) - if event.is_directory: + if event.is_directory and path.exists(file_cb_path): + # This means the directory was deleted on a remote + # computer. with self.lock: self.silo.node_set('file_deleted', file_cb_path) num = self.silo.node_get('file_deleted', file_cb_path)