From 00d20de15dbd8e7630d566a2ee012067fd975b00 Mon Sep 17 00:00:00 2001 From: ancalentari Date: Sun, 7 Jun 2020 00:31:26 +0200 Subject: [PATCH] fix logging --- twitch-recorder.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/twitch-recorder.py b/twitch-recorder.py index 7d7ca07..ffd7611 100644 --- a/twitch-recorder.py +++ b/twitch-recorder.py @@ -124,7 +124,7 @@ def loop_check(self, recorded_path, processed_path): logging.info("unauthorized, will attempt to log back in immediately") self.access_token = self.fetch_access_token() elif status == TwitchResponseStatus.ONLINE: - logging.info(self.username, "online, stream recording in session") + logging.info("%s online, stream recording in session", self.username) channels = info["data"] channel = next(iter(channels), None)