Skip to content

Commit

Permalink
Strip input path string
Browse files Browse the repository at this point in the history
  • Loading branch information
sgaist committed Apr 27, 2023
1 parent 049ba38 commit 624ed66
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/reuse/download.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ def put_license_in_file(
if out is not None:
out.write(_("Enter path to custom license file"))
out.write("\n")
result = input()
result = input().strip()
out.write("\n")
if result:
source = Path(result) / "".join((spdx_identifier, ".txt"))
Expand Down

0 comments on commit 624ed66

Please sign in to comment.