diff -r 3b86597c5a88 -r 438d77bca50e compute-regions.py --- a/compute-regions.py Fri Apr 13 17:32:40 2018 +0300 +++ b/compute-regions.py Sun Apr 15 13:51:39 2018 +0300 @@ -8,10 +8,10 @@ representatives = {} -regions = parse_regions(sys.argv[1]) +regions = parse_regions(sys.argv[2]) bus_stops = {} -with ZipFile('gtfs.zip') as archive: +with ZipFile(sys.argv[1]) as archive: with archive.open('stops.txt') as file: for row in read_csv(map(bytes.decode, file)): location = Location(float(row['stop_lat']), float(row['stop_lon']))