Trivial fix.
authorDaira Hopwood <daira@jacaranda.org>
Thu, 30 Jul 2015 15:24:57 +0000 (16:24 +0100)
committerDaira Hopwood <daira@jacaranda.org>
Tue, 15 Sep 2015 16:56:05 +0000 (17:56 +0100)
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
src/allmydata/frontends/magic_folder.py

index 4e64cfd43ff639e193c9f1c68bcdcd893480001a..84f88055e870e3366e1b67a6991eecfc5e06b50f 100644 (file)
@@ -403,7 +403,7 @@ class Downloader(QueueMixin):
         """
         if not os.path.exists(path_u):
             return None
-        return self._db.get_local_file_version(child_path_u)
+        return self._db.get_local_file_version(path_u)
 
     def _get_collective_latest_file(self, filename):
         """_get_collective_latest_file takes a file path pointing to a file managed by