mirror of
https://github.com/kaaninchen/Gleiswechsel.git
synced 2026-07-21 19:52:47 +00:00
Fix: random connection bool
This commit is contained in:
+1
-1
@@ -55,7 +55,7 @@ def random_connection():
|
|||||||
if not departures:
|
if not departures:
|
||||||
continue
|
continue
|
||||||
|
|
||||||
if config['random'] is False:
|
if not config['random']:
|
||||||
dep = random.choice(departures)
|
dep = random.choice(departures)
|
||||||
else:
|
else:
|
||||||
dep = departures[0]
|
dep = departures[0]
|
||||||
|
|||||||
Reference in New Issue
Block a user