Private GIT

Skip to content
Snippets Groups Projects
Commit e6236967 authored by Alexandre Beloin's avatar Alexandre Beloin
Browse files

Merge pull request #1699 from TagForce/fix_unicode_error_in_verify_freespace

Fix unicode error in verify_freespace
parents a6d4ae61 3fa5a11f
No related branches found
No related tags found
No related merge requests found
...@@ -1514,7 +1514,7 @@ def verify_freespace(src, dest, oldfile=None): ...@@ -1514,7 +1514,7 @@ def verify_freespace(src, dest, oldfile=None):
if oldfile: if oldfile:
for file in oldfile: for file in oldfile:
if os.path.isfile(file.location): if ek.ek(os.path.isfile, file.location):
diskfree += ek.ek(os.path.getsize, file.location) diskfree += ek.ek(os.path.getsize, file.location)
if diskfree > neededspace: if diskfree > neededspace:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment