Update book path when it's been moved

This commit is contained in:
BasioMeusPuga
2018-01-09 18:15:47 +05:30
parent 01d1be9ddc
commit 9a4ce12465
3 changed files with 13 additions and 10 deletions

View File

@@ -97,7 +97,7 @@ class DatabaseFunctions:
tags = ', '.join([j for j in tags if j])
sql_command_add = (
"INSERT INTO \
"INSERT OR REPLACE INTO \
books (Title, Author, Year, Path, ISBN, Tags, Hash, CoverImage) \
VALUES (?, ?, ?, ?, ?, ?, ?, ?)")