Remove this sep normalization, let abspath do its job.
This commit is contained in:
parent
00b3a05850
commit
b59fb409d9
1 changed files with 0 additions and 1 deletions
|
@ -31,7 +31,6 @@ class NotEnoughSpace(Exception):
|
|||
self.drive = drive
|
||||
|
||||
def reserve_disk_space(reserve, drive):
|
||||
drive = drive.replace('\\', os.sep).replace('/', os.sep)
|
||||
drive = os.path.abspath(drive)
|
||||
drive = os.path.splitdrive(drive)[0]
|
||||
|
||||
|
|
Loading…
Reference in a new issue