Update api end point for SickGear #1712

This commit is contained in:
Clinton Hall 2020-01-27 13:06:48 +13:00 committed by GitHub
commit 08bf2ccd8a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -132,7 +132,7 @@ def auto_fork(section, input_category):
if apikey: if apikey:
rem_params, found = api_check(r, params, rem_params) rem_params, found = api_check(r, params, rem_params)
if not found: # try different api set for SickGear. if not found: # try different api set for SickGear.
url = '{protocol}{host}:{port}{root}/api/{apikey}/?cmd=postprocess&help=1'.format( url = '{protocol}{host}:{port}{root}/api/{apikey}/?cmd=sg.postprocess&help=1'.format(
protocol=protocol, host=host, port=port, root=web_root, apikey=apikey, protocol=protocol, host=host, port=port, root=web_root, apikey=apikey,
) )
try: try: