Fixed a bug in the directory sync handler. 6_1_x

Sat, 27 Feb 2016 12:54:01 +0100

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Sat, 27 Feb 2016 12:54:01 +0100
branch
6_1_x
changeset 4777
4e5b185f7bf2
parent 4770
07bb802753a2
child 4794
7a0bb183bee1

Fixed a bug in the directory sync handler.

Helpviewer/Sync/DirectorySyncHandler.py file | annotate | diff | comparison | revisions
--- a/Helpviewer/Sync/DirectorySyncHandler.py	Wed Feb 24 20:28:12 2016 +0100
+++ b/Helpviewer/Sync/DirectorySyncHandler.py	Sat Feb 27 12:54:01 2016 +0100
@@ -162,7 +162,7 @@
                     Preferences.getHelp("SyncDirectoryPath"),
                     self._remoteFiles[type_])).lastModified().toTime_t())
         else:
-            if os.path.exists(
+            if not os.path.exists(
                     os.path.join(Preferences.getHelp("SyncDirectoryPath"),
                                  self._remoteFiles[type_])):
                 self.syncStatus.emit(

eric ide

mercurial