Fix UserDataWorker

This commit is contained in:
Odd Stråbø 2020-08-06 02:31:38 +02:00
parent 16bd0091f7
commit 70ef07276a
1 changed files with 4 additions and 2 deletions

View File

@ -652,12 +652,14 @@ class UserDataWorker(threading.Thread):
is_done = False
def __init__(self, queue, lock, database, *args):
def __init__(self, queue, lock, database, server, direct_path):
self.queue = queue
self.lock = lock
self.database = Database(database)
self.args = args
self.server = server
self.direct_path = direct_path
threading.Thread.__init__(self)
def run(self):