Uhoh not checking the right file

This commit is contained in:
Alexandre Aubin 2019-03-09 18:35:15 +01:00 committed by GitHub
parent e89e613f9e
commit 74e60bab86
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -141,7 +141,7 @@ class App():
#
for filename in os.listdir(self.path + "/conf"):
if not os.path.isfile(filename):
if not os.path.isfile(self.path + "/conf/" + filename):
continue
content = open(self.path + "/conf/" + filename).read()
if "location" in content and "add_header" in content: