From 0a6ce8eb875a6e5f4610f9b0b467cb1843615554 Mon Sep 17 00:00:00 2001 From: Ben Date: Sat, 8 Jun 2019 21:13:11 +0100 Subject: [PATCH] Remove unneeded penguin attribute --- houdini/handlers/login/world.py | 2 -- houdini/penguin.py | 1 - 2 files changed, 3 deletions(-) diff --git a/houdini/handlers/login/world.py b/houdini/handlers/login/world.py index ab9ba40..1cebf71 100644 --- a/houdini/handlers/login/world.py +++ b/houdini/handlers/login/world.py @@ -48,5 +48,3 @@ async def handle_login(p, credentials: WorldCredentials): p.data = data p.login_key = credentials.login_key await p.send_xt('l') - - p.age = (datetime.now() - p.data.registration_date).days diff --git a/houdini/penguin.py b/houdini/penguin.py index c59279e..da28c3b 100644 --- a/houdini/penguin.py +++ b/houdini/penguin.py @@ -17,7 +17,6 @@ class Penguin(Spheniscidae): self.room = None self.waddle = None self.table = None - self.age = 0 self.data = None self.login_key = None