mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-23 07:46:23 -04:00
Fixed linting errors, removed pytz
This commit is contained in:
@@ -29,7 +29,7 @@ def get_report_info(service_id, report_name):
|
||||
size_str = f"{size_bytes / (1024 * 1024):.1f} MB"
|
||||
return {"available": True, "size": size_str}
|
||||
except Exception:
|
||||
pass
|
||||
return {"available": False, "size": None}
|
||||
return {"available": False, "size": None}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user