Skip to content

Commit 2f619f1

Browse files
authored
Try again to fix Google Sheets URL (#114)
1 parent 78f26c4 commit 2f619f1

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

dashboard/views_gsg.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -530,14 +530,9 @@ def reports(request):
530530
if request.method == 'POST':
531531
form = ReportForm(request.POST, request.FILES)
532532

533-
# Debugging Print
534-
print(f"DEBUG: Form is valid: {form.is_valid()}", file=sys.stderr)
535-
536533
if form.is_valid():
537534
value = form.cleaned_data['report']
538535
action = request.POST.get('action')
539-
540-
print(f"DEBUG: Action received: {action}", file=sys.stderr)
541536

542537
formatted = None
543538
for month in months:
@@ -702,7 +697,6 @@ def update_totals(category, date):
702697
# OPTION A: File Upload (CSV)
703698
# ---------------------------
704699
if request.FILES:
705-
print("DEBUG: Processing File Upload", file=sys.stderr)
706700
support_file = request.FILES['file'].read().decode("utf-8-sig")
707701
lines = support_file.splitlines()
708702
reader = csv.reader(lines, delimiter=',')

0 commit comments

Comments
 (0)