fix python format call

This commit is contained in:
Kyle Robbertze 2021-06-02 09:02:37 +02:00
parent 02ccac3afb
commit e3564cc5e6
1 changed files with 1 additions and 1 deletions

View File

@ -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: