Skip to content

Commit

Permalink
Merge pull request #104 from WittF/patch-2
Browse files Browse the repository at this point in the history
Update settings.py
  • Loading branch information
mikumifa authored Jun 13, 2024
2 parents e793724 + 0b9aa09 commit aa8e653
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tab/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,7 @@ def on_submit_all(ticket_id, ticket_info, people_indices, people_buyer_index, ad
ticket_cur = ticket_value[ticket_info]
people_cur = [buyer_value[item] for item in people_indices]
people_buyer_cur = buyer_value[people_buyer_index]
ticket_id = extract_id_from_url(ticket_id)
if str(ticket_id) != str(ticket_cur["project_id"]):
return [gr.update(value="当前票信息已更改,请点击“获取票信息”按钮重新获取", visible=True),
gr.update(value={})]
Expand Down

0 comments on commit aa8e653

Please sign in to comment.