Main: print the machine name

This commit is contained in:
Romain Bazile 2020-11-16 17:47:50 +01:00
parent f27c9823a1
commit ae29f8597e

View file

@ -104,6 +104,9 @@ if __name__ == "__main__":
os.makedirs(export_path) os.makedirs(export_path)
logger.info(f"This PlanktoScope unique ID is {planktoscope.uuidName.getSerial()}") logger.info(f"This PlanktoScope unique ID is {planktoscope.uuidName.getSerial()}")
logger.info(
f"This PlanktoScope unique name is {planktoscope.uuidName.machineName(machine=planktoscope.uuidName.getSerial())}"
)
# Prepare the event for a gracefull shutdown # Prepare the event for a gracefull shutdown
shutdown_event = multiprocessing.Event() shutdown_event = multiprocessing.Event()