mirror of
https://github.com/GNS3/gns3-server
synced 2024-11-24 17:28:08 +00:00
Show correct free disk space value.
This commit is contained in:
parent
31a268e756
commit
19c5ff8521
@ -90,7 +90,7 @@ class ProjectManager:
|
|||||||
return
|
return
|
||||||
# send a warning if used disk space is >= 90%
|
# send a warning if used disk space is >= 90%
|
||||||
if used_disk_space >= 90:
|
if used_disk_space >= 90:
|
||||||
message = 'Only {}% or less of disk space detected in "{}" on "{}"'.format(used_disk_space,
|
message = 'Only {}% or less of free disk space detected in "{}" on "{}"'.format(100 - used_disk_space,
|
||||||
project.path,
|
project.path,
|
||||||
platform.node())
|
platform.node())
|
||||||
log.warning(message)
|
log.warning(message)
|
||||||
|
Loading…
Reference in New Issue
Block a user