Fix confused sync
authorJack Miller <jack@codezen.org>
Mon, 15 Sep 2014 06:28:48 +0000 (01:28 -0500)
committerJack Miller <jack@codezen.org>
Mon, 15 Sep 2014 06:28:48 +0000 (01:28 -0500)
syncto in loop should've been eliminated when syncfrom became sync.

plugins/sync.py

index a2d36f1..dc67fa9 100644 (file)
@@ -251,7 +251,6 @@ class CantoFileSync(DaemonBackendPlugin):
     def loop(self):
         self.sync_interval -= 1
         if self.sync_interval <= 0:
-            self.cmd_syncto()
             self.cmd_sync()
 
             self.sync_interval = INTERVAL