Explorar el Código

Merge pull request #5119 from jrast/win-path-fix

Fixed windows path parsing
TW hace 5 años
padre
commit
ba154d1104
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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