From 6224d761abddb8b0f8ec43c61d6e83ed649412f5 Mon Sep 17 00:00:00 2001 From: Daniel Black Date: Sun, 29 Sep 2013 15:49:45 +1000 Subject: [PATCH] BF: simplify --- server/action.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/action.py b/server/action.py index b2ccda1e5..61b318e8b 100644 --- a/server/action.py +++ b/server/action.py @@ -359,7 +359,7 @@ class Action: #@staticmethod def executeCmd(realCmd): logSys.debug(realCmd) - if realCmd is None or realCmd == "": + if not realCmd: logSys.debug("Nothing to do") return True