#5 Added more data to stats page and improved CSS

This commit is contained in:
2024-02-09 22:01:25 +00:00
parent 7c27aa31b6
commit 60cb8d7951
6 changed files with 50 additions and 27 deletions

View File

@@ -46,7 +46,7 @@ class DatabaseController(ABC):
for attr, value in with_fields.items():
try:
setattr(obj, attr, value)
except KeyError:
except AttributeError:
return of(value)
return obj