Merge pull request #74 from toomuchio/patch-1

Format syntax error [ instead of {
This commit is contained in:
blacktwin
2018-06-14 00:02:50 -04:00
committed by GitHub

View File

@ -111,7 +111,7 @@ def terminate_session(session_id, message):
response = req.json()
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:
raise Exception(response['response']['message'])
except Exception as e: