From a4003e188eb723f4a21a488376482cc04317209c Mon Sep 17 00:00:00 2001 From: Adarnof Date: Mon, 12 Feb 2018 18:53:23 -0500 Subject: [PATCH] Correct string formatting format Thanks @warlof --- allianceauth/services/modules/discord/manager.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/allianceauth/services/modules/discord/manager.py b/allianceauth/services/modules/discord/manager.py index 695db934..7d7158a0 100644 --- a/allianceauth/services/modules/discord/manager.py +++ b/allianceauth/services/modules/discord/manager.py @@ -109,7 +109,7 @@ def api_backoff(func): backoff_timer = datetime.datetime.strptime(existing_backoff, cache_time_format) if backoff_timer > datetime.datetime.utcnow(): backoff_seconds = (backoff_timer - datetime.datetime.utcnow()).total_seconds() - logger.debug("Still under backoff for {} seconds, backing off" % backoff_seconds) + logger.debug("Still under backoff for %s seconds, backing off" % backoff_seconds) # Still under backoff raise PerformBackoff( retry_after=backoff_seconds,