Fix small issues detected by codacy

This commit is contained in:
VirtuBox
2019-10-28 09:22:04 +01:00
parent 45252fdd1b
commit c2d27f1480
4 changed files with 6 additions and 10 deletions

View File

@@ -227,8 +227,7 @@ class WOSiteController(CementBaseController):
Log.info(self, Log.ENDC + text)
f.close()
else:
Log.error(self, "nginx configuration file does not exists"
.format(wo_domain))
Log.error(self, "nginx configuration file does not exists")
@expose(help="Change directory to site webroot")
def cd(self):