This commit is contained in:
Timothy Jaeryang Baek
2026-03-21 19:04:39 -05:00
parent d8fa0f426a
commit cc8b5055f2

View File

@@ -143,7 +143,7 @@ def get_license_data(app, key):
pn, pt = nt(pb)
data = json.loads(aesgcm.decrypt(pn, pt, None).decode())
if not data.get('exp') and data.get('exp') < datetime.now().date():
if not data.get('exp') or data.get('exp') < datetime.now().date():
return False
data_handler(data)