Fixed a bug in the directory sync handler.

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

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Sat, 27 Feb 2016 12:54:01 +0100
changeset 4778
8894676d1e61
parent 4775
05811a5a5eb5
child 4784
10e3aa4b62eb

Fixed a bug in the directory sync handler.
(grafted from 4e5b185f7bf205cb4b1d6b68c3da8176e5c3959f)

Helpviewer/Sync/DirectorySyncHandler.py file | annotate | diff | comparison | revisions
--- a/Helpviewer/Sync/DirectorySyncHandler.py	Sat Feb 27 12:37:07 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