chore [P-01]: проблема линтера

This commit is contained in:
Nukeap committed 2025-02-24 15:37:11 +03:00
1 parent 38a289b4d0
commit 829c794ceb
8 files changed
+48 -13000

No files matched your search

+4 -1
View File
@@ -14,7 +14,7 @@ class GetStateSize(ListAPIView):
state_size ={}
try:
state_size = StateSizeSerializer(StateSize.objects.latest('date_created')).data
except Exception as e:
pass
@@ -26,6 +26,9 @@ class GetStateSize(ListAPIView):
class GetFactSize(ListAPIView):
def get(self, request):
fact_size = {}
try:
fact_size = FactSizeSerializer(FactSize.objects.latest('date_created')).data