From d667de427ae07ce11f307ae6cbed8ecfa019ca0c Mon Sep 17 00:00:00 2001 From: Brainway Date: Wed, 9 Nov 2022 06:15:02 +0000 Subject: [PATCH] update ieemoo-ai-isempty.py. --- ieemoo-ai-isempty.py | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/ieemoo-ai-isempty.py b/ieemoo-ai-isempty.py index 6a477b7..8f45b97 100755 --- a/ieemoo-ai-isempty.py +++ b/ieemoo-ai-isempty.py @@ -171,15 +171,7 @@ def get_isempty(): result = {} result["success"] = "true" result["rst_cls"] = 0 - else: - if(riseresult["rst_cls"]==0): - result = {} - result["success"] = "true" - result["rst_cls"] = 0 - else: - result = {} - result["success"] = "true" - result["rst_cls"] = 1 + return repr(result)