Replace uuid().hex with just uuid()
This commit is contained in:
parent
059360ac76
commit
2b90829020
6 changed files with 8 additions and 8 deletions
|
|
@ -26,7 +26,7 @@ class TaskThread(threading.Thread):
|
|||
)
|
||||
|
||||
# A UUID for the TaskThread (not the same as the threading.Thread ident)
|
||||
self._ID = uuid.uuid4().hex # Task ID
|
||||
self._ID = uuid.uuid4() # Task ID
|
||||
|
||||
# Make _target, _args, and _kwargs available to the subclass
|
||||
self._target = target
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue