Skip to content

Commit

Permalink
style: applied pyupgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
ErikBjare committed Aug 30, 2022
1 parent af4b59b commit ef53160
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion aw_watcher_afk/afk.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ def heartbeat_loop(self):
now = datetime.now(timezone.utc)
seconds_since_input = seconds_since_last_input()
last_input = now - timedelta(seconds=seconds_since_input)
logger.debug("Seconds since last input: {}".format(seconds_since_input))
logger.debug(f"Seconds since last input: {seconds_since_input}")

# If no longer AFK
if afk and seconds_since_input < self.settings.timeout:
Expand Down

0 comments on commit ef53160

Please sign in to comment.