Skip to content
Snippets Groups Projects
Commit 4ba81b4e authored by Francesco Tripaldi's avatar Francesco Tripaldi
Browse files

check if new hour started

parent 7f832338
No related branches found
Tags 1.15.0
No related merge requests found
......@@ -23,7 +23,7 @@ def main():
try:
while str(selfseq_dev.State()) == 'RUNNING':
current_time = datetime.now()
if current_time.minute >= 51 and current_time.minute < 52 and current_time.second < 15:
if current_time.minute >= 1 and current_time.minute < 2 and current_time.second < 15:
print("passato")
break
else:
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment