publish eve_rock_watcher.py
This commit is contained in:
parent
b28e74ae8b
commit
d03ddd0ea6
1 changed files with 2 additions and 1 deletions
|
|
@ -313,7 +313,8 @@ def main():
|
||||||
try:
|
try:
|
||||||
rows = read_rows(cp, region, mode)
|
rows = read_rows(cp, region, mode)
|
||||||
if not rows:
|
if not rows:
|
||||||
region = None # lost it; re-detect next loop
|
# nothing selected at the moment — KEEP the fixed region (positions are
|
||||||
|
# stable; don't burn CPU re-hunting on a 9000px screen), just retry.
|
||||||
time.sleep(poll)
|
time.sleep(poll)
|
||||||
continue
|
continue
|
||||||
now = time.time()
|
now = time.time()
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue