Fix small issues

This commit is contained in:
VirtuBox
2019-09-02 22:24:46 +02:00
parent 242b4c4666
commit 84ce672a5b
3 changed files with 5 additions and 9 deletions

View File

@@ -79,8 +79,7 @@ class WOSiteController(CementBaseController):
Log.error(self, "service nginx reload failed. "
"check issues with `nginx -t` command")
else:
Log.error(self, "nginx configuration file does not exist"
.format(wo_domain))
Log.error(self, "nginx configuration file does not exist")
@expose(help="Disable site example.com")
def disable(self):
@@ -121,8 +120,7 @@ class WOSiteController(CementBaseController):
Log.error(self, "service nginx reload failed. "
"check issues with `nginx -t` command")
else:
Log.error(self, "nginx configuration file does not exist"
.format(wo_domain))
Log.error(self, "nginx configuration file does not exist")
@expose(help="Get example.com information")
def info(self):
@@ -182,8 +180,7 @@ class WOSiteController(CementBaseController):
"disabled"))
self.app.render((data), 'siteinfo.mustache')
else:
Log.error(self, "nginx configuration file does not exist"
.format(wo_domain))
Log.error(self, "nginx configuration file does not exist")
@expose(help="Monitor example.com logs")
def log(self):