Replace uuid().hex with just uuid()
This commit is contained in:
parent
059360ac76
commit
2b90829020
6 changed files with 8 additions and 8 deletions
|
|
@ -33,7 +33,7 @@ class Microscope:
|
|||
|
||||
def __init__(self):
|
||||
# Initial attributes
|
||||
self.id = uuid.uuid4().hex
|
||||
self.id = uuid.uuid4()
|
||||
self.name = self.id
|
||||
self.fov = [0, 0]
|
||||
self.camera = None
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue