From 86637401e1ab52e9868e6801630e77f292393da1 Mon Sep 17 00:00:00 2001 From: j Date: Tue, 5 Jan 2016 15:21:02 +0530 Subject: [PATCH] avoid db lock --- oml/downloads.py | 1 + 1 file changed, 1 insertion(+) diff --git a/oml/downloads.py b/oml/downloads.py index a44b18a..5a80de3 100644 --- a/oml/downloads.py +++ b/oml/downloads.py @@ -78,6 +78,7 @@ class ScrapeThread(Thread): for f in s.item.files: f.move() s.item.update_icons() + s.item.save() s.remove() trigger_event('change', {}) scraped = True