File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -319,9 +319,11 @@ def set_release_channel(self, listItem):
319
319
del (self .struct ['update' ]['settings' ]['Build' ]['hidden' ])
320
320
321
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' ]) :
322
+ if release_channel != 'custom' :
323
323
self .update_json = self .build_json ()
324
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 ()
325
327
326
328
327
329
@log .log_function ()
You can’t perform that action at this time.
0 commit comments