mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2025-07-12 09:02:19 +03:00
forgot variable assignment for previous commit
This commit is contained in:
parent
73a7ed491d
commit
a05722fc92
|
@ -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")
|
||||||
|
|
Loading…
Reference in New Issue
Block a user