Format syntax error [ instead of {

This commit is contained in:
Too Much IO 2018-06-14 09:04:33 +10:00 committed by GitHub
parent c93972f46c
commit 33c29f4bcc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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: