aw
This commit is contained in:
parent
56a07369fd
commit
a7b801a9bb
12 changed files with 54 additions and 32 deletions
|
@ -466,7 +466,7 @@ def sub_toggle(mode, v):
|
|||
try: mode = int(mode)
|
||||
except: abort(400)
|
||||
|
||||
if mode in (1,2,3,4) and v.subs != mode:
|
||||
if mode in (1,2,3) and v.subs != mode:
|
||||
v.subs = mode
|
||||
g.db.add(v)
|
||||
g.db.commit()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue