Add debug log

This commit is contained in:
VirtuBox
2019-07-29 15:08:49 +02:00
parent 88f896e429
commit 4fd9d267bb
4 changed files with 10 additions and 3 deletions

View File

@@ -88,8 +88,8 @@ class WOCleanController(CementBaseController):
def clean_opcache(self):
try:
Log.info(self, "Cleaning opcache")
wp = urllib.request.urlopen(" https://127.0.0.1:22222/cache"
"/opcache/opgui.php?reset=1").read()
urllib.request.urlopen(" https://127.0.0.1:22222/cache"
"/opcache/opgui.php?reset=1").read()
except Exception as e:
Log.debug(self, "{0}".format(e))
Log.debug(self, "Unable hit url, "