diff options
author | Rasmus Steinke <rasi@xssn.at> | 2014-10-05 00:36:52 +0200 |
---|---|---|
committer | Rasmus Steinke <rasi@xssn.at> | 2014-10-05 00:36:52 +0200 |
commit | 125cca58547f52ecaf95046dfc1c8cbf16c74042 (patch) | |
tree | a2d8aa91a3587f4a797a72b2c3c3998844ebcd4b | |
parent | 5745c9bdb8f0ef262342ca39b685a9e400b158a3 (diff) | |
download | perl-app-clerk-125cca58547f52ecaf95046dfc1c8cbf16c74042.tar.gz perl-app-clerk-125cca58547f52ecaf95046dfc1c8cbf16c74042.tar.xz |
fix of fix
-rwxr-xr-x | clerk | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -168,7 +168,7 @@ updateDB () { rating=$(echo "$ratings" | cut -d '/' -f1) rating_max=$(echo "$ratings" | cut -d '/' -f2) date=${date//\'/\\\'} - albumartist=${albumartist//\'/\\\'} + artist=${artist//\'/\\\'} album=${album//\'/\\\'} rating=${rating//\'/\\\'} sqlite3 ../ratings.db "insert or replace into albums (date, artist, album, rating) values ('$date', '$albumartist', '$album', '$rating')" |