Skip to content

Commit

Permalink
Multiply by 100 to get percent
Browse files Browse the repository at this point in the history
  • Loading branch information
NickM-27 committed Nov 2, 2022
1 parent e4eab3a commit e459651
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frigate/http.py
Original file line number Diff line number Diff line change
Expand Up @@ -686,7 +686,7 @@ def get_recordings_storage_usage():

for camera_name in camera_usages.keys():
camera_usages[camera_name]["usage_percent"] = (
camera_usages[camera_name]["usage"] / total_mb
camera_usages[camera_name]["usage"] / total_mb * 100
)

return jsonify(camera_usages)
Expand Down

0 comments on commit e459651

Please sign in to comment.