From b59fb409d90a8ffa8f98e55bb76b71dea2f64d59 Mon Sep 17 00:00:00 2001 From: Ethan Dalool Date: Thu, 23 Dec 2021 17:42:48 -0800 Subject: [PATCH] Remove this sep normalization, let abspath do its job. --- reserve_disk_space.py | 1 - 1 file changed, 1 deletion(-) diff --git a/reserve_disk_space.py b/reserve_disk_space.py index 394bd04..86b90f1 100644 --- a/reserve_disk_space.py +++ b/reserve_disk_space.py @@ -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]