Skip to content

Commit

Permalink
Update AccountHandler.py
Browse files Browse the repository at this point in the history
  • Loading branch information
JabLuszko authored Apr 19, 2024
1 parent d3a6c3f commit 58d9878
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mapadroid/account_handler/AccountHandler.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ async def get_account(self, device_id: int, purpose: AccountPurpose,
and self._is_usable_for_purpose(auth_entry,
purpose, location_to_scan)]
logins_filtered.sort(key=lambda x: DatetimeWrapper.fromtimestamp(0) if x.last_burn is None else x.last_burn)
logger.info("Got {} before filtering (burnt, wrong level) and {} after", len(logins), len(logins_filtered))
logger.info("Got {} before filtering and {} after (burnt, wrong level)", len(logins), len(logins_filtered))
login_to_use: Optional[SettingsPogoauth] = None
if not logins_filtered:
logger.warning("No auth found for {}", device_id)
Expand Down

0 comments on commit 58d9878

Please sign in to comment.