forgot variable assignment for previous commit

This commit is contained in:
alexzvk 2022-11-29 18:19:02 -05:00
parent 73a7ed491d
commit a05722fc92

View File

@ -329,9 +329,8 @@ def handle_licenses():
"The Unlicense": "UNLICENSE", "The Unlicense": "UNLICENSE",
} }
with open(os.path.join("licenses", "-temporary-placeholder.txt")) as f: with open(os.path.join("licenses", "-temporary-placeholder.txt")) as f:
selected_title = f.readline() selected_title = f.readline().rstrip()
selected_title.rstrip()
if selected_title == "Not open source\n": if selected_title == "Not open source\n":
os.remove("CONTRIBUTORS.txt") os.remove("CONTRIBUTORS.txt")
shutil.rmtree("licenses") shutil.rmtree("licenses")