diff --git a/NasoScope/nasomain.py b/NasoScope/nasomain.py index 3618c09..76f7a43 100644 --- a/NasoScope/nasomain.py +++ b/NasoScope/nasomain.py @@ -397,12 +397,9 @@ if __name__ == '__main__': saveSamples(samples) LOGGER.warning("Chiudo il Canale") stat = "IDLE" - firstLoop = True - loopcount = 0 pass - elif stat == "IDLE" and firstLoop == True: + elif stat == "IDLE": LOGGER.info("Pronto a Iniziare Cattura") - firstLoop = False else: pass time.sleep(settings["loopPeriod"])