File tree Expand file tree Collapse file tree 1 file changed +0
-6
lines changed
Expand file tree Collapse file tree 1 file changed +0
-6
lines changed Original file line number Diff line number Diff 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 = ',' )
You can’t perform that action at this time.
0 commit comments