From de64239466752d2285c72d9dc21ac86e1f5ab6da Mon Sep 17 00:00:00 2001 From: Oliver Smith Date: Sat, 6 Dec 2014 04:41:10 -0800 Subject: [PATCH] Typo correction --- commands/run_cmd.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/commands/run_cmd.py b/commands/run_cmd.py index 6449e592..68bcb9fc 100644 --- a/commands/run_cmd.py +++ b/commands/run_cmd.py @@ -245,10 +245,10 @@ def validateRunArguments(tdb, cmdenv): viaSet = cmdenv.viaSet = set(cmdenv.viaStations) for place in viaSet: - if isinstance(place, Station) and not station.itemCount: + if isinstance(place, Station) and not place.itemCount: raise NoDataError( "No price data available for via station {}.".format( - station.name() + place.name() )) # How many of the hops do not have pre-determined stations. For example,