combox

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

commit 27acc86045b457bd800b5203d97218c0197bfeea
parent 59279bf453bf90c547b36e8555d942ecf833bb74
Author: Siddharth Ravikumar <sravik@bgsu.edu>
Date:   Fri,  6 Mar 2015 08:47:07 -0500

updated on_delete method in combox.events.NodeDirMonitor

Now the method deletes the corresponding file in the combox directory
only if has not already been deleted.

	modified:   combox/events.py

Diffstat:
combox/events.py | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/combox/events.py b/combox/events.py @@ -256,7 +256,7 @@ class NodeDirMonitor(LoggingEventHandler): if event.is_directory: # Delete corresponding directory under the combox directory. rm_path(file_cb_path) - else: + elif not event.is_directory and path.exists(file_cb_path): # remove the corresponding file under the combox directory. rm_path(file_cb_path) # remove file info from silo.