Fix channels saving to wrong index

This commit is contained in:
pdxlocations
2025-01-25 08:43:17 -08:00
parent 70f1f5d4bf
commit c243daf253

View File

@@ -53,7 +53,7 @@ def save_changes(interface, menu_path, modified_settings):
try:
channel = menu_path[-1]
channel_num = int(channel.split()[-1])
channel_num = int(channel.split()[-1]) - 1
except (IndexError, ValueError) as e:
channel_num = None