mirror of
https://github.com/YunoHost/package_linter.git
synced 2024-09-03 20:06:12 +02:00
Uhoh not checking the right file
This commit is contained in:
parent
e89e613f9e
commit
74e60bab86
1 changed files with 1 additions and 1 deletions
|
@ -141,7 +141,7 @@ class App():
|
||||||
#
|
#
|
||||||
|
|
||||||
for filename in os.listdir(self.path + "/conf"):
|
for filename in os.listdir(self.path + "/conf"):
|
||||||
if not os.path.isfile(filename):
|
if not os.path.isfile(self.path + "/conf/" + filename):
|
||||||
continue
|
continue
|
||||||
content = open(self.path + "/conf/" + filename).read()
|
content = open(self.path + "/conf/" + filename).read()
|
||||||
if "location" in content and "add_header" in content:
|
if "location" in content and "add_header" in content:
|
||||||
|
|
Loading…
Reference in a new issue