mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2025-02-27 08:50:38 +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:
|
with open(os.path.join("licenses", "-temporary-placeholder.txt")) as f:
|
||||||
selected_title = f.readline()
|
selected_title = f.readline()
|
||||||
|
|
||||||
if selected_title == "Not open source":
|
if selected_title == "Not open source\n":
|
||||||
os.remove("CONTRIBUTORS.txt")
|
os.remove("CONTRIBUTORS.txt")
|
||||||
shutil.rmtree("licenses")
|
shutil.rmtree("licenses")
|
||||||
return
|
return
|
||||||
|
|
Loading…
Reference in New Issue
Block a user