another dumb syntax error

master
justcool393 2022-10-11 08:00:24 -07:00
parent 2004278791
commit eebef17e8d
1 changed files with 1 additions and 1 deletions

View File

@ -257,7 +257,7 @@ if SITE not in ('pcmemes.net', 'watchpeopledie.co'):
@admin_level_required(PERMS['MODERATE_PENDING_SUBMITTED_HATS']) @admin_level_required(PERMS['MODERATE_PENDING_SUBMITTED_HATS'])
def approve_hat(v, name): def approve_hat(v, name):
if AEVANN_ID and v.id not in (AEVANN_ID, CARP_ID, SNAKES_ID): if AEVANN_ID and v.id not in (AEVANN_ID, CARP_ID, SNAKES_ID):
abort(403, "Only Carp can approve hats!"}, 403 abort(403, "Only Carp can approve hats!")
name = name.strip() name = name.strip()