From 74e60bab864c197c2f082f23fd57006dc5e80c88 Mon Sep 17 00:00:00 2001 From: Alexandre Aubin Date: Sat, 9 Mar 2019 18:35:15 +0100 Subject: [PATCH] Uhoh not checking the right file --- package_linter.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package_linter.py b/package_linter.py index 2883784..620dcd5 100755 --- a/package_linter.py +++ b/package_linter.py @@ -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: