test
This commit is contained in:
parent
911cab890d
commit
1df65f653e
@ -146,14 +146,12 @@ class OriginEPG():
|
||||
return xmltime
|
||||
|
||||
def get_prog_timedict(self, starttime, endtime):
|
||||
"2020-12-05T00:01:00.098Z"
|
||||
"2020-11-22T00:00:00.000Z"
|
||||
print(self.xmltimestamp_toonami(starttime))
|
||||
timedict = {
|
||||
"time_start": None,
|
||||
"time_end": None,
|
||||
"duration": None
|
||||
"time_start": self.xmltimestamp_toonami(starttime),
|
||||
"time_end": self.xmltimestamp_toonami(endtime)
|
||||
}
|
||||
timedict["duration"] = (timedict["time_end"] - timedict["time_start"])
|
||||
return timedict
|
||||
|
||||
def get_cached(self, jsonid, cache_key, url):
|
||||
|
||||
Loading…
Reference in New Issue
Block a user