Commits

Jannis Leidel  committed 76919d9

Fix for absolute paths.

  • Participants
  • Parent commits 9927d1e

Comments (0)

Files changed (1)

File pep381client/__init__.py

             # not modified, discard data
             r.read()
             return
+        if path.startswith("/"):
+            path = path[1:]
         lpath = os.path.join(self.homedir, "web", path)
         if r.status == 200:
             sqlite.remove_file(self.cursor, path) # readd when done downloading