Browse Source

bug fix for weird 0:blank list result

master
Gitea 5 years ago
parent
commit
555c457c8f
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      lawipac.com/usr/local/bin/mysyncbook.sh

+ 2
- 2
lawipac.com/usr/local/bin/mysyncbook.sh View File

@@ -57,9 +57,9 @@ lawipac </br>
EOF
}


function email_success {
BOOK_LIST=`calibredb list -s "date:>=1daysago" -ftitle --with-library=/var/www/MyBooks | awk 'NR>1 {printf "<li>%d:%s</li>\n\n", $1,$2 } '`

BOOK_LIST=`calibredb list -s "date:>=1daysago" -ftitle --with-library=/var/www/MyBooks '`

#use cat to test locally
#cat << EOF

Loading…
Cancel
Save