diff --git a/rarpar.py b/rarpar.py index a9971d3..5934027 100644 --- a/rarpar.py +++ b/rarpar.py @@ -118,7 +118,7 @@ def assert_enough_space(pathsize, workdir, moveto, rec, rev, par): needed = pathsize * (1 + plus_percent) reserve = RESERVE_SPACE_ON_DRIVE + needed - workdir_drive = os.path.splitdrive(workdir.absolute_path)[0] + workdir_drive = os.path.splitdrive(workdir.absolute_path)[0] + os.sep free_space = shutil.disk_usage(workdir_drive).free if moveto is not None: