yuripeyamashita commited on
Commit
5c18dcf
1 Parent(s): eb1cacb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -26,13 +26,13 @@ def api():
26
  if payload.get("group_id") != GROUP_ID:
27
  raise ValueError("Invalid Group")
28
 
29
- if "$" not in payload.get("msg_text"):
30
- raise ValueError("Keyword not Found")
31
-
32
  if payload.get("unsend_msg_id"):
33
  message_list.pop(payload.get("unsend_msg_id"), None)
34
  raise ValueError("Unsend Success")
35
 
 
 
 
36
  if get_amount(payload.get("msg_text")) == None:
37
  raise ValueError("Amount is None")
38
 
 
26
  if payload.get("group_id") != GROUP_ID:
27
  raise ValueError("Invalid Group")
28
 
 
 
 
29
  if payload.get("unsend_msg_id"):
30
  message_list.pop(payload.get("unsend_msg_id"), None)
31
  raise ValueError("Unsend Success")
32
 
33
+ if "$" not in payload.get("msg_text"):
34
+ raise ValueError("Keyword not Found")
35
+
36
  if get_amount(payload.get("msg_text")) == None:
37
  raise ValueError("Amount is None")
38