From 5a607123f302402c9e0e54780bed9ce3f75f09e2 Mon Sep 17 00:00:00 2001 From: Oliver Smith Date: Sun, 15 Mar 2015 23:41:01 -0700 Subject: [PATCH] Fixed no details --- tradecalc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tradecalc.py b/tradecalc.py index 78ce147f..fc3843c6 100644 --- a/tradecalc.py +++ b/tradecalc.py @@ -275,7 +275,7 @@ def decorateStation(station): details.append('Ref:'+station.refuel) details = "{} ({})".format( station.name(), - ", ".join(details or "no details") + ", ".join(details or ["no details"]) ) return details else: