From f152310f6b1c5cb2a4e7256f98949e65e98a9d6e Mon Sep 17 00:00:00 2001 From: Himanshu Mishra Date: Wed, 4 Jan 2017 15:51:49 +0530 Subject: [PATCH] Rename PEP8SPEAKS_YML_FOUND --- app.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app.py b/app.py index 9bde43ab..3d563822 100644 --- a/app.py +++ b/app.py @@ -92,11 +92,11 @@ def main(): } # Configuration file - PEP8SPEAK_YML_FOUND = False + PEP8SPEAKS_YML_FOUND = False r = requests.get("https://api.github.com/repos/" + repository + "/contents/.pep8speaks.yml") if r.status_code == 200: - PEP8SPEAK_YML_FOUND = True + PEP8SPEAKS_YML_FOUND = True res = requests.get(r.json()["download_url"]) with open(".pep8speaks.yml", "w+") as config_file: config_file.write(res.text) @@ -123,7 +123,7 @@ def main(): new_msg = msg.replace("{name}", author) config["message"][act][pos] = new_msg - if PEP8SPEAK_YML_FOUND: + if PEP8SPEAKS_YML_FOUND: os.remove(".pep8speaks.yml") # Run pycodestyle