main.py: fix segmenter startup bug

This commit is contained in:
Romain Bazile 2021-11-03 13:37:13 +01:00
parent 2d2ed20bdf
commit 317df93428

View file

@ -138,8 +138,8 @@ if __name__ == "__main__":
) )
except Exception as e: except Exception as e:
logger.error("The segmenter control process could not be started") logger.error("The segmenter control process could not be started")
else:
segmenter_thread = None segmenter_thread = None
else:
segmenter_thread.start() segmenter_thread.start()
# Starts the module process # Starts the module process