mirror of
https://github.com/pdxlocations/contact.git
synced 2026-03-28 17:12:35 +01:00
Fix channels saving to wrong index
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user