From d721115680f6f1b533b03bf97e8313e9c8fdfd3d Mon Sep 17 00:00:00 2001 From: Cielquan Date: Wed, 5 Feb 2020 20:00:24 +0100 Subject: [PATCH] fixed if stmt --- check_jira_tag.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/check_jira_tag.py b/check_jira_tag.py index c58067f..7c1f6cf 100755 --- a/check_jira_tag.py +++ b/check_jira_tag.py @@ -64,7 +64,7 @@ def main() -> int: exit_code = 1 #: Get commit msg - if len(sys.argv) > 2: + if len(sys.argv) >= 2: with open(sys.argv[1]) as file: c_msg = file.read()