mirror of
https://github.com/fastogt/fastocloud_admin.git
synced 2025-03-09 23:38:52 +00:00
Review
This commit is contained in:
parent
3d035cf257
commit
755a2162a6
1 changed files with 3 additions and 2 deletions
|
@ -64,8 +64,9 @@ if __name__ == '__main__':
|
|||
if len(tvg_logo) < constants.MAX_URL_LENGTH:
|
||||
if is_valid_http_url(tvg_logo, timeout=0.1):
|
||||
stream.tvg_logo = tvg_logo
|
||||
if sql_entry['epg_id']:
|
||||
stream.tvg_id = sql_entry['channel_id']
|
||||
epg_id = sql_entry['channel_id']
|
||||
if epg_id:
|
||||
stream.tvg_id = epg_id
|
||||
|
||||
stream.save()
|
||||
streams.append(stream)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue