Minor fix for selecting correct repeaterbook script.

This commit is contained in:
Marat Fayzullin 2023-08-24 21:21:01 -04:00
parent 6ba024ad02
commit 85a88b19e3
1 changed files with 1 additions and 1 deletions

View File

@ -160,7 +160,7 @@ class Repeaters(object):
logger.debug("Trying {0} ... got {1} bytes".format(url1, len(data)))
data = json.loads(data)
# ...until we get the result
if "results" in data:
if "results" in data and len(data["results"]) > 0:
break
# If no results, do not continue
if "results" not in data: