Первая заливка

This commit is contained in:
iriska-gri committed 2023-11-23 10:59:29 +03:00
1 parent 5a628c6acd
commit 576b59c076
6 files changed
+14 -17

No files matched your search

+5 -4
View File
@@ -46,10 +46,11 @@ class DailyRoundUpAPIView(APIView):
re = roundExcel(user)
if request.GET.get("excel") == 'round':
file_path = re.excround()
if request.GET.get("excel") == 'vacation':
file_path = re.excelvacation()
file_path = getattr(re, request.GET.get("excel"))()
# if request.GET.get("excel") == 'round':
# file_path = re.excround()
# if request.GET.get("excel") == 'vacation':
# file_path = re.excelvacation()