mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2024-11-29 04:54:02 +03:00
forgot newline character to fix previous bug
This commit is contained in:
parent
b869dc4dd9
commit
5f9d74ae7c
|
@ -331,7 +331,7 @@ def handle_licenses():
|
|||
with open(os.path.join("licenses", "-temporary-placeholder.txt")) as f:
|
||||
selected_title = f.readline()
|
||||
|
||||
if selected_title == "Not open source":
|
||||
if selected_title == "Not open source\n":
|
||||
os.remove("CONTRIBUTORS.txt")
|
||||
shutil.rmtree("licenses")
|
||||
return
|
||||
|
|
Loading…
Reference in New Issue
Block a user