Skip to content

Commit

Permalink
Merge UNC bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
tstenner committed Feb 7, 2017
2 parents c7d927c + 0b427db commit ed370d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bleachbit/FileUtilities.py
Original file line number Diff line number Diff line change
Expand Up @@ -378,7 +378,7 @@ def extended_path_undo(path):
""""""
if 'nt' == os.name:
if path.startswith(r'\\?\unc'):
return path[7:]
return '\\' + path[7:]
if path.startswith(r'\\?'):
return path[4:]
return path
Expand Down

0 comments on commit ed370d5

Please sign in to comment.