diff --git a/handlers/apiIsOnlineHandler.py b/handlers/apiIsOnlineHandler.py index b443821..1d8f7e7 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 and "id" not in self.request.arguments: + if "u" not in self.request.arguments or "id" not in self.request.arguments: raise exceptions.invalidArgumentsException() # Get online staus