diff options
author | Siddharth Ravikumar <sravik@bgsu.edu> | 2015-09-07 18:31:22 -0400 |
---|---|---|
committer | Siddharth Ravikumar <sravik@bgsu.edu> | 2015-09-07 18:31:22 -0400 |
commit | f62ab061a9c4e33873ade9c96c4393850138a361 (patch) | |
tree | add2c97e427f0d56abcbf0a6ee16110059ec7d90 | |
parent | 5a2ad9c577ea835ad5a5b0fbeea4b153d756de6b (diff) |
combox.events: fixed file path variable name in NodeDirMonitor's on_move method.
-rw-r--r-- | combox/events.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/combox/events.py b/combox/events.py index 23d869f..baa4b44 100644 --- a/combox/events.py +++ b/combox/events.py @@ -386,13 +386,13 @@ class NodeDirMonitor(LoggingEventHandler): print "Okay, %s (%s) was actually modified." % (cb_filename, event.dest_path) self.silo.node_rem('file_deleted', cb_filename) - self.silo.node_set('file_modified', file_cb_path) - num = self.silo.node_get('file_modified', file_cb_path) + self.silo.node_set('file_modified', cb_filename) + num = self.silo.node_get('file_modified', cb_filename) if num == self.num_nodes: - decrypt_and_glue(file_cb_path, self.config) + decrypt_and_glue(cb_filename, self.config) # update db. - self.silo.update(file_cb_path) - self.silo.node_rem('file_modified', file_cb_path) + self.silo.update(cb_filename) + self.silo.node_rem('file_modified', cb_filename) return |