refactor:tkinter
This commit is contained in:
parent
72c2cdb5b5
commit
b49eb4d42d
@ -1,7 +1,7 @@
|
||||
# -*- mode: python ; coding: utf-8 -*-
|
||||
|
||||
a = Analysis(
|
||||
['tkinter_ui.py'],
|
||||
['tkinter_ui.py', 'default.py', 'multicast.py', 'hotel.py', 'subscribe.py', 'online_search.py'],
|
||||
pathex=[],
|
||||
binaries=[],
|
||||
datas=[
|
||||
@ -14,6 +14,8 @@ a = Analysis(
|
||||
('hotel.py', '.'),
|
||||
('subscribe.py', '.'),
|
||||
('online_search.py', '.'),
|
||||
('select_combobox.py', '.'),
|
||||
('../version.json', '.')
|
||||
],
|
||||
hiddenimports=[],
|
||||
hookspath=[],
|
||||
|
@ -96,7 +96,7 @@ def get_multicast_urls_info_from_region_list():
|
||||
"""
|
||||
Get the multicast urls info from region
|
||||
"""
|
||||
region_list = config.get("Settings", "region_list").split(",")
|
||||
region_list = config.get("Settings", "multicast_region_list").split(",")
|
||||
urls_info = []
|
||||
with open(
|
||||
resource_path("updates/multicast/multicast_map.json"), "r", encoding="utf-8"
|
||||
|
@ -210,7 +210,7 @@ def get_channel_multicast_region_type_list(result):
|
||||
"""
|
||||
Get the channel multicast region type list from result
|
||||
"""
|
||||
config_region_list = set(config.get("Settings", "region_list").split(","))
|
||||
config_region_list = set(config.get("Settings", "multicast_region_list").split(","))
|
||||
region_type_list = {
|
||||
(region, type)
|
||||
for region_type in result.values()
|
||||
|
Loading…
x
Reference in New Issue
Block a user