Fix wo clean

This commit is contained in:
VirtuBox
2019-12-04 03:48:59 +01:00
parent 43edc325da
commit 6159d3d0b2

View File

@@ -79,7 +79,7 @@ class WOCleanController(CementBaseController):
Log.info(self, "Cleaning opcache")
opgui = requests.get(
"http://127.0.0.1/cache/opcache/opgui.php?reset=1")
if opgui.status_code != '200':
if opgui.status_code != '200' or opgui.status_code != '302':
Log.warn(self, 'Cleaning opcache failed')
except Exception as e:
Log.debug(self, "{0}".format(e))