1 parent 5fec441 commit 4ddc8c0Copy full SHA for 4ddc8c0
1 file changed
resources/lib/modules/updates.py
@@ -319,9 +319,11 @@ def set_release_channel(self, listItem):
319
del(self.struct['update']['settings']['Build']['hidden'])
320
321
# Refresh json for available build channels if ReleaseChannel is stable, testing, or custom with URL set
322
- if release_channel != 'custom' or (release_channel == 'custom' and self.struct['update']['settings']['CustomChannel1']['value']):
+ if release_channel != 'custom':
323
self.update_json = self.build_json()
324
self.struct['update']['settings']['Channel']['values'] = self.get_channels()
325
+ elif release_channel == 'custom' and self.struct['update']['settings']['CustomChannel1']['value']:
326
+ self.set_custom_channel()
327
328
329
@log.log_function()
0 commit comments