From e3564cc5e6e557848b8d4a7943f70c371f4b8bea Mon Sep 17 00:00:00 2001 From: Kyle Robbertze Date: Wed, 2 Jun 2021 09:02:37 +0200 Subject: [PATCH] fix python format call --- python_apps/api_clients/api_clients/version2.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python_apps/api_clients/api_clients/version2.py b/python_apps/api_clients/api_clients/version2.py index 3ccf7e49d..553d96fb0 100644 --- a/python_apps/api_clients/api_clients/version2.py +++ b/python_apps/api_clients/api_clients/version2.py @@ -48,7 +48,7 @@ class AirtimeApiClient: str_current = current_time.isoformat(timespec='seconds') str_end = end_time.isoformat(timespec='seconds') data = self.services.schedule_url(params={ - 'ends__range': ('{str_current}Z,{str_end}Z'.format(str_current, str_end)), + 'ends__range': ('{}Z,{}Z'.format(str_current, str_end)), }) result = {'media': {} } for item in data: