threading.Thread: fix some DeprecationWarnings
"DeprecationWarning: setDaemon() is deprecated, set the daemon attribute instead"
This commit is contained in:
@@ -103,7 +103,7 @@ class Contacts(dict, Logger):
|
||||
self.alias_info = self.resolve_openalias(alias)
|
||||
trigger_callback('alias_received')
|
||||
t = threading.Thread(target=f)
|
||||
t.setDaemon(True)
|
||||
t.daemon = True
|
||||
t.start()
|
||||
|
||||
def resolve_openalias(self, url):
|
||||
|
||||
Reference in New Issue
Block a user