don't start 2t stuff if there's no backend avail

This commit is contained in:
ed 2021-04-19 13:17:34 +02:00
parent 16d6e9be1f
commit f8c11faada

View file

@ -101,11 +101,12 @@ class Up2k(object):
thr.daemon = True
thr.start()
thr = threading.Thread(target=self._tagger)
thr = threading.Thread(target=self._hasher)
thr.daemon = True
thr.start()
thr = threading.Thread(target=self._hasher)
if self.mtag:
thr = threading.Thread(target=self._tagger)
thr.daemon = True
thr.start()