From ae29f8597e90bbb772fef6e664832437d5962b8d Mon Sep 17 00:00:00 2001 From: Romain Bazile Date: Mon, 16 Nov 2020 17:47:50 +0100 Subject: [PATCH] Main: print the machine name --- scripts/main.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scripts/main.py b/scripts/main.py index c42f66f..c243b9f 100644 --- a/scripts/main.py +++ b/scripts/main.py @@ -104,6 +104,9 @@ if __name__ == "__main__": os.makedirs(export_path) 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 shutdown_event = multiprocessing.Event()