From f8fccd34db3cbdbbf24f7fe410320a6e7fff7b74 Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Sun, 25 Sep 2022 07:43:44 +0200 Subject: [PATCH] allow me to add channels --- files/routes/static.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/routes/static.py b/files/routes/static.py index d1bd790cf..f2b4a45de 100644 --- a/files/routes/static.py +++ b/files/routes/static.py @@ -539,7 +539,7 @@ if SITE == 'pcmemes.net': @app.post('/live/add') @admin_level_required(2) def live_add(v): - if v.id != KIPPY_ID: + if v.id not in (AEVANN_ID, KIPPY_ID): return {"error": 'Only Kippy can add channels!'}, 403 id = request.values.get('id').strip()