Merge pull request #1225 from paddatrapper/fix/python-format

Fix python format call
This commit is contained in:
Robb 2021-06-02 09:02:25 -04:00 committed by GitHub
commit d50016cd46
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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: