Update epg2xml.py

This commit is contained in:
wonipapa 2018-03-29 18:30:55 +09:00 committed by GitHub
parent 900186e3ca
commit f825f935a7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -439,7 +439,6 @@ def GetEPGFromSKY(ChannelInfo):
response = requests.post(url, data=params, headers=ua, timeout=timeout)
response.raise_for_status()
json_data = response.text
print(json_data)
try:
data = json.loads(json_data, encoding='utf-8')
if (len(data['scheduleListIn']) == 0) :