Skip to content

Commit

Permalink
newline fix for python reqs
Browse files Browse the repository at this point in the history
closes #20
  • Loading branch information
feederbox826 committed Dec 6, 2024
1 parent 0046286 commit d6cd2a7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion stash/root/defaults/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ mechanicalsoup
pystashlib
requests
requests-toolbelt
stashapp-tools
stashapp-tools
2 changes: 1 addition & 1 deletion stash/root/opt/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ search_dir_reqs() {
parse_reqs() {
local file="$1"
info "🐍 Parsing $file"
echo "# $file" >> "$PYTHON_REQS"
printf "\n# %s" "$file" >> "$PYTHON_REQS"
while IFS="" read -r p || [ -n "$p" ]
do
[[ "$p" = \#* ]] && continue # skip comments
Expand Down

0 comments on commit d6cd2a7

Please sign in to comment.