File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -59,7 +59,10 @@ def twitch_rc_dccon(dccon_url):
5959 dccon_url = args ['dccon_url' ] if 'dccon_url' in args else None
6060 dccon_type = args ['dccon_type' ] if 'dccon_type' in args else None
6161 is_using_cache = parse_bool (args ['is_using_cache' ]) if 'is_using_cache' in args else None
62- twitch_extension_version = args ['twitch_extension_version' ] if 'twitch_extension_version' in args else '0.0.1'
62+ twitch_extension_version = args ['twitch_extension_version' ] if 'twitch_extension_version' in args else None
63+
64+ if twitch_extension_version is None :
65+ twitch_extension_version = '0.0.1'
6366
6467 if dccon_type not in Channel .DCCON_TYPES :
6568 abort (400 , '{dccon_type} is invalid dccon_type' .format (dccon_type = dccon_type ))
You can’t perform that action at this time.
0 commit comments