Don't update library items on shutdown

This commit is contained in:
Ruud
2013-08-14 12:31:41 +02:00
parent 67bc3903d4
commit d759280c18
2 changed files with 5 additions and 1 deletions
+1 -1
View File
@@ -192,7 +192,7 @@ class Manage(Plugin):
# Notify frontend
def afterUpdate():
if not self.in_progress:
if not self.in_progress or self.shuttingDown():
return
self.in_progress[folder]['to_go'] = self.in_progress[folder]['to_go'] - 1