Fix response opds with read/unread

changed db_reconnect
Changed output for error 500 (now including error message)
Fix in task queue after 20 messages
This commit is contained in:
Ozzieisaacs
2019-12-24 13:02:53 +01:00
parent b586a32843
commit 62e8bee2a8
5 changed files with 3012 additions and 1483 deletions
+1 -1
View File
@@ -231,7 +231,7 @@ class WorkerThread(threading.Thread):
self.queue.pop(index)
self.UIqueue.pop(index)
# if we are deleting entries before the current index, adjust the index
if index <= self.current and index:
if index <= self.current and self.current:
self.current -= 1
self.last = len(self.queue)