From 68a72ce0b8ab28f489e06a8eb21172be34f31943 Mon Sep 17 00:00:00 2001 From: checktheroads Date: Sun, 16 Jun 2019 15:54:51 -0700 Subject: [PATCH] Black Formatting - travis # --- manage.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manage.py b/manage.py index c3dce72..425d6f4 100755 --- a/manage.py +++ b/manage.py @@ -52,7 +52,7 @@ def pylint_badge(): raise RuntimeError(f"Pylint score {pylint_score} not acceptable.") badge_file = os.path.join(working_directory, "pylint.svg") if os.path.exists(badge_file): - shutil.rmtree(badge_file) + os.remove(badge_file) ab_thresholds = {1: "red", 10: "green"} badge = anybadge.Badge("pylint", pylint_score, thresholds=ab_thresholds) badge.write_badge("pylint.svg")