From 09a3ebfc1f8f5165d5fac71422a7d6f593548b9a Mon Sep 17 00:00:00 2001 From: Franziska Kunsmann Date: Mon, 23 Dec 2024 21:40:06 +0100 Subject: [PATCH] fix logic error for admin detection in syncer --- syncer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/syncer.py b/syncer.py index ae1b5fb..e05465c 100644 --- a/syncer.py +++ b/syncer.py @@ -48,7 +48,7 @@ def asset_to_tiles(asset: Asset): } ) - if REDIS.get(f"admin:{asset.userid}") == "1": + if REDIS.get(f"admin:{asset.userid}") != "1": tiles.append( { "type": "flat",