From: Daira Hopwood <daira@jacaranda.org>
Date: Thu, 30 Jul 2015 15:24:57 +0000 (+0100)
Subject: Trivial fix.
X-Git-Url: https://git.rkrishnan.org/pf/content/en/service/statistics?a=commitdiff_plain;h=834166209e774740f7f030a288c239201fb27d88;p=tahoe-lafs%2Ftahoe-lafs.git

Trivial fix.

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
---

diff --git a/src/allmydata/frontends/magic_folder.py b/src/allmydata/frontends/magic_folder.py
index 4e64cfd4..84f88055 100644
--- a/src/allmydata/frontends/magic_folder.py
+++ b/src/allmydata/frontends/magic_folder.py
@@ -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