Replace uuid().hex with just uuid()

This commit is contained in:
Joel Collins 2019-12-28 18:36:46 +00:00
parent 059360ac76
commit 2b90829020
6 changed files with 8 additions and 8 deletions

View file

@ -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