Skip to content
Snippets Groups Projects
Commit 0741a28f authored by Matt Traudt's avatar Matt Traudt
Browse files

Make DestinationList correctly return only usable dests

parent 274a161b
No related branches found
No related tags found
No related merge requests found
......@@ -226,5 +226,5 @@ class DestinationList:
time_till_next_check)
time.sleep(time_till_next_check)
random.shuffle(self._all_dests)
return self._all_dests[0]
random.shuffle(self._usable_dests)
return self._usable_dests[0]
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment