diff --git a/res/devices.py b/res/devices.py index a12645e92..246a432df 100755 --- a/res/devices.py +++ b/res/devices.py @@ -67,7 +67,7 @@ def check(response): except ValueError: return response.text or "Success" else: - return "Failed", res.status_code, response.text + return "Failed", response.status_code, response.text def disable(url, token, guid, id):