mirror of
https://git.selfprivacy.org/SelfPrivacy/selfprivacy-rest-api.git
synced 2024-11-25 21:41:27 +00:00
Fix type cast
This commit is contained in:
parent
19168dfdaf
commit
a67a0b3de2
|
@ -53,7 +53,7 @@ def move_service(
|
|||
)
|
||||
return
|
||||
# Check if there is enough space on the new volume
|
||||
if volume.fsavail < service.get_storage_usage():
|
||||
if int(volume.fsavail) < service.get_storage_usage():
|
||||
Jobs.get_instance().update(
|
||||
job=job,
|
||||
status=JobStatus.ERROR,
|
||||
|
|
Loading…
Reference in a new issue