another fix for indentation

This commit is contained in:
VirtuBox
2019-03-15 17:08:47 +01:00
parent 2626d6ed85
commit cd6e994181
2 changed files with 5 additions and 5 deletions

View File

@@ -636,8 +636,8 @@ class WOStackController(CementBaseController):
" server 127.0.0.1:6379;\n"
" keepalive 10;\n}\n")
if os.path.isfile("/etc/nginx/nginx.conf")
and (not os.path.isfile("/etc/nginx/conf.d/redis.conf")):
if (os.path.isfile("/etc/nginx/nginx.conf")
and not os.path.isfile("/etc/nginx/conf.d/redis.conf")):
with open("/etc/nginx/conf.d/redis.conf", "a") as
redis_file:
redis_file.write("# Log format Settings\n"