mirror of
https://github.com/spalencsar/bearhub.git
synced 2026-07-07 02:24:16 +02:00
[fix][ui] using the sleep function wrongly within the Qt threads
This commit is contained in:
@@ -27,7 +27,7 @@ class DatabaseUpdater(Thread):
|
||||
self.http_client = http_client
|
||||
self.logger = logger
|
||||
self.db_locks = db_locks
|
||||
self.sleep = interval
|
||||
self.sleep_time = interval
|
||||
self.i18n = i18n
|
||||
self.task_man = task_man
|
||||
self.task_id = 'appim_db'
|
||||
@@ -103,7 +103,7 @@ class DatabaseUpdater(Thread):
|
||||
while True:
|
||||
self.download_databases()
|
||||
self.logger.info('Sleeping')
|
||||
time.sleep(self.sleep)
|
||||
time.sleep(self.sleep_time)
|
||||
|
||||
|
||||
class SymlinksVerifier(Thread):
|
||||
|
||||
Reference in New Issue
Block a user