Few code quality improvements

This commit is contained in:
VirtuBox
2019-07-29 02:32:53 +02:00
parent 17510fe57c
commit b85a81ad8d
5 changed files with 20 additions and 25 deletions

View File

@@ -753,7 +753,7 @@ class WODebugController(CementBaseController):
self.debug_fpm73()
if self.app.pargs.mysql:
# MySQL debug will not work for remote MySQL
if WOVariables.wo_mysql_host is "localhost":
if WOVariables.wo_mysql_host == "localhost":
self.debug_mysql()
else:
Log.warn(self, "Remote MySQL found, WordOps does not support "