mirror of
https://github.com/moparisthebest/SickRage
synced 2024-12-12 11:02:21 -05:00
Fix for failed download handling and sql issues
This commit is contained in:
parent
98ff924b1c
commit
2eec706197
@ -78,7 +78,8 @@ def logFailed(release):
|
||||
provider = sql_results[0]["provider"]
|
||||
|
||||
if not hasFailed(release, size, provider):
|
||||
myDB.action("INSERT INTO failed (release, size, provider) VALUES (?, ?, ?)", [release, size, provider])
|
||||
with db.DBConnection('failed.db') as myDB:
|
||||
myDB.action("INSERT INTO failed (release, size, provider) VALUES (?, ?, ?)", [release, size, provider])
|
||||
|
||||
deleteLoggedSnatch(release, size, provider)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user