dropbna poprawka w stringu

This commit is contained in:
Mateusz Gruszczyński
2025-08-12 22:27:38 +02:00
parent 462570da48
commit ae2c3e66bf
2 changed files with 9 additions and 3 deletions

2
app.py
View File

@@ -2130,7 +2130,7 @@ def crop_receipt_user():
@login_required
@admin_required
def admin_panel():
month_str = request.args.get("month")
month_str = request.args.get("m")
if not month_str:
month_str = datetime.now(timezone.utc).strftime("%Y-%m")
show_all = (month_str == "all")