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