Commit 92774e7f authored by Glandos's avatar Glandos
Browse files

fix results for sqlite

parent a9f60800
......@@ -215,7 +215,8 @@ class SQLite(Database):
else:
inserted += 1
self.merge_files(files_statement, self.cursor.lastrowid, torrent["id"])
return {"failed": failed, "inserted": inserted}
return {"failed": failed, "inserted": inserted, "processed": processed}
def merge_files(self, statement: str, torrent_id: int, previous_torrent_id: int):
if self.merged_source:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment