should work now

This commit is contained in:
2024-09-03 18:33:46 +02:00
parent 38c9527c80
commit 6a0a399869
-1
View File
@@ -27,7 +27,6 @@ class Aura:
def __init__(self) -> None:
redis_host = REDIS_URL.split(':')
self.r = redis.Redis(host=redis_host[0], port=int(redis_host[1]), username=REDIS_USER, password=REDIS_PSW, decode_responses=True)
self.load()
def get(self, user_id) -> User | None:
return User(int(self.r.get(user_id)))