Commit 302da861 authored by Francesco Witz's avatar Francesco Witz
Browse files

fix: tool rules editor subject length casting issue

parent 7e307eaf
......@@ -358,7 +358,7 @@ def rules():
while new_length == "" and not new_length.isnumeric() and new_length != "q":
new_length = input("New subject length (q to quit): ")
if new_length != "q":
config['commit-subject-length'] = new_length
config['commit-subject-length'] = int(new_length)
# Asking user if he wants to edit anything else
edition = ""
while edition == "" and not edition in ["y", "n"]:
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment