aboutsummaryrefslogtreecommitdiff
path: root/tanken.py
diff options
context:
space:
mode:
authorFlorian Fischer <florian.fl.fischer@fau.de>2017-10-27 19:00:46 +0200
committerFlorian Fischer <florian.fl.fischer@fau.de>2017-11-09 16:50:57 +0100
commitd464a20370520238aa75b3455d5ff035f150aa94 (patch)
tree3093edcac44f761d2fbc4295caa8b6a3146ab046 /tanken.py
parentf7ba7dea0eff46cc9b7b3c3dfd8c5720a63dd7f4 (diff)
downloadgeldschieberbot-d464a20370520238aa75b3455d5ff035f150aa94.tar.gz
geldschieberbot-d464a20370520238aa75b3455d5ff035f150aa94.zip
fix tanken hopfully the last time
Diffstat (limited to 'tanken.py')
-rw-r--r--tanken.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tanken.py b/tanken.py
index 4685fee..501978b 100644
--- a/tanken.py
+++ b/tanken.py
@@ -3,6 +3,7 @@
def tanken(drives, cost):
passagers = {}
distance = 0.
+ drives = [d.split(' ') for d in drives]
for d in drives:
try: