Skip to content
Snippets Groups Projects
Commit b2d85579 authored by shinedday's avatar shinedday
Browse files

Fix Set sleep

parent deb89ce4
No related branches found
No related tags found
No related merge requests found
...@@ -3,6 +3,7 @@ desktop.ini ...@@ -3,6 +3,7 @@ desktop.ini
.vscode .vscode
.idea .idea
venv venv
dist/
*.bat *.bat
outputs/ outputs/
__pycache__/ __pycache__/
......
File deleted
...@@ -166,10 +166,7 @@ class Amas(Schedulable): ...@@ -166,10 +166,7 @@ class Amas(Schedulable):
""" """
set sleep between 2 cycles set sleep between 2 cycles
""" """
if 10 / sleep_time - 1 >= 0: self.scheduler.sleep_time = sleep_time
self.scheduler.sleep_time = 10 / sleep_time - 1
else:
self.scheduler.sleep_time = 0
def start(self) -> None: def start(self) -> None:
""" """
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment