Added:
generate_route_list(route_str):
generate_route_string(route_list): - refactored route_helper to call this function, also used for server.
def load_initial_json(prompt=True):
"""Refactored initial prompt for query to this helper function"""
Fixed:
json_api_request(graph, code): - Now handles exception when a city is not found from the API request
Fixed setting routes properly when editing a city's code.
Refactoring:
Refactored functions in CSAir.py to return a string instead of printing.
Refactored loops to use enumerate
@todo log other functions refactored.