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

@ -129,7 +129,7 @@ class CaptureObject(object):
"""Create a new StreamObject, to manage capture data."""
# Store a nice ID
self.id = uuid.uuid4().hex #: str: Unique capture ID
self.id = uuid.uuid4() #: str: Unique capture ID
logging.debug("Created StreamObject {}".format(self.id))
self.timestring = datetime.datetime.now().strftime("%Y-%m-%d_%H-%M-%S")