Skip to content

Commit 7f6da8a

Browse files
committed
Remove unnecessary code
1 parent 5659858 commit 7f6da8a

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/fosslight_reuse/_add.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -199,8 +199,6 @@ def add_content(path_to_find, file, input_license="", input_copyright=""):
199199
path_to_find = os.path.abspath(path_to_find)
200200

201201
os.chdir(path_to_find)
202-
if not path_to_find.endswith("/"):
203-
path_to_find += "/"
204202

205203
now = datetime.now().strftime('%Y%m%d_%H-%M-%S')
206204
output_dir = os.getcwd()

0 commit comments

Comments
 (0)