This commit is contained in:
Aevann1 2022-03-17 10:59:44 +02:00
parent 56a07369fd
commit a7b801a9bb
12 changed files with 54 additions and 32 deletions

View file

@ -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()