From bd395ef30bf6dce64547b7d9b14446e189151f5d Mon Sep 17 00:00:00 2001 From: russelg Date: Wed, 24 Aug 2016 11:10:29 +0800 Subject: [PATCH] .FIX. Actually fix meme --- handlers/apiIsOnlineHandler.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/handlers/apiIsOnlineHandler.py b/handlers/apiIsOnlineHandler.py index 1d8f7e7..b443821 100644 --- a/handlers/apiIsOnlineHandler.py +++ b/handlers/apiIsOnlineHandler.py @@ -9,7 +9,7 @@ class handler(requestHelper.asyncRequestHandler): data = {"message": "unknown error"} try: # Check arguments - if "u" not in self.request.arguments or "id" not in self.request.arguments: + if "u" not in self.request.arguments and "id" not in self.request.arguments: raise exceptions.invalidArgumentsException() # Get online staus