Skip to content

Commit 1a4967a

Browse files
SaptakSmariobehling
authored andcommitted
Internal Server should be fixed in admin/sales/events (#2976)
1 parent 7691f2a commit 1a4967a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

app/views/super_admin/sales.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# encoding=utf8
2+
13
import copy
24
from datetime import datetime, timedelta
35

@@ -326,7 +328,7 @@ def sales_by_events_view(path):
326328
+= order_ticket.quantity
327329
tickets_summary_organizer_wise[str(order.event.creator_id)][str(order.status)]['tickets_count'] \
328330
+= order_ticket.quantity
329-
tickets_summary_location_wise[str(order
331+
tickets_summary_location_wise[unicode(order
330332
.event.searchable_location_name)][str(order
331333
.status)]['tickets_count'] \
332334
+= order_ticket.quantity

0 commit comments

Comments
 (0)