combox

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

commit f4af8d7f6f9e70cd209c9bd73b748e08b69260b2
parent 54d70dad75387e0369c2b67dacff80d32d3cfc1e
Author: Siddharth Ravikumar <sravik@bgsu.edu>
Date:   Tue, 29 Sep 2015 15:55:14 -0400

combox/events.py: fixed tmp_file method.

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

diff --git a/combox/events.py b/combox/events.py @@ -61,9 +61,9 @@ class ComboxDirMonitor(LoggingEventHandler): if file_path.endswith("~"): return True - elif file_path.startswith(".#"): + elif path.basename(file_path).startswith(".#"): return True - elif (file_path.startswith("#") and + elif (path.basename(file_path).startswith("#") and file_path.endswith("#")): return True else: