mirror of
https://gitea.tendokyu.moe/Hay1tsme/artemis.git
synced 2026-02-10 09:49:39 +08:00
mai2: add add_consec_login call if get_consec_login returns None #189
This commit is contained in:
@@ -212,6 +212,7 @@ class Mai2Base:
|
|||||||
lastLoginDate = "2017-12-05 07:00:00.0"
|
lastLoginDate = "2017-12-05 07:00:00.0"
|
||||||
|
|
||||||
if consec is None or not consec:
|
if consec is None or not consec:
|
||||||
|
await self.data.profile.add_consec_login(data["userId"], self.version)
|
||||||
consec_ct = 1
|
consec_ct = 1
|
||||||
|
|
||||||
else:
|
else:
|
||||||
|
|||||||
Reference in New Issue
Block a user