Merge pull request #74 from toomuchio/patch-1
Format syntax error [ instead of {
This commit is contained in:
commit
aae31c9718
@ -111,7 +111,7 @@ def terminate_session(session_id, message):
|
|||||||
response = req.json()
|
response = req.json()
|
||||||
|
|
||||||
if response['response']['result'] == 'success':
|
if response['response']['result'] == 'success':
|
||||||
sys.stdout.write("Successfully killed Plex session: [}.".format(session_id))
|
sys.stdout.write("Successfully killed Plex session: {0}.".format(session_id))
|
||||||
else:
|
else:
|
||||||
raise Exception(response['response']['message'])
|
raise Exception(response['response']['message'])
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
|
Loading…
Reference in New Issue
Block a user