From 17e89f23c81b5c89c038d1d5213ad9e30c2afa1a Mon Sep 17 00:00:00 2001 From: Jeppe Klitgaard Date: Sun, 5 Apr 2015 22:14:38 +0200 Subject: [PATCH] Fixed typo, explicitly stated that number was status code. --- minecraft/authentication.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/minecraft/authentication.py b/minecraft/authentication.py index 9e3f45a..04b4a34 100644 --- a/minecraft/authentication.py +++ b/minecraft/authentication.py @@ -294,6 +294,7 @@ def _raise_from_request(req): error=json_resp["error"], error_message=json_resp["errorMessage"]) except ValueError: - message = "Unknwon requests error: " + str(req.status_code) + message = "Unknown requests error. Status code: {}" + message.format(str(req.status_code)) raise YggdrasilError(message)