浏览代码

Fixed windows path parsing

The parsing of windows path failed because a undefined variable
was referenced.
Jürg Rast 5 年之前
父节点
当前提交
64b6bc88e7
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/borg/helpers/parseformat.py

+ 1 - 1
src/borg/helpers/parseformat.py

@@ -418,7 +418,7 @@ class Location:
             m = self.win_file_re.match(text)
             if m:
                 self.proto = 'file'
-                self.path = path
+                self.path = m.group('path')
                 self.archive = m.group('archive')
                 return True