fix python format call
This commit is contained in:
parent
02ccac3afb
commit
e3564cc5e6
|
@ -48,7 +48,7 @@ class AirtimeApiClient:
|
||||||
str_current = current_time.isoformat(timespec='seconds')
|
str_current = current_time.isoformat(timespec='seconds')
|
||||||
str_end = end_time.isoformat(timespec='seconds')
|
str_end = end_time.isoformat(timespec='seconds')
|
||||||
data = self.services.schedule_url(params={
|
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': {} }
|
result = {'media': {} }
|
||||||
for item in data:
|
for item in data:
|
||||||
|
|
Loading…
Reference in New Issue