Add API endpoint to return all links attached to a node.

This commit is contained in:
grossmj
2018-06-06 20:46:44 +07:00
parent fd5df0052a
commit 62f87de23a
4 changed files with 29 additions and 7 deletions

View File

@ -90,9 +90,9 @@ class ProjectManager:
return
# send a warning if used disk space is >= 90%
if used_disk_space >= 90:
message = 'Only {}% or less of free disk space detected in "{}" on "{}"'.format(100 - used_disk_space,
project.path,
platform.node())
message = 'Only {:.2f}% or less of free disk space detected in "{}" on "{}"'.format(100 - used_disk_space,
project.path,
platform.node())
log.warning(message)
project.emit("log.warning", {"message": message})