import csv


def csv_read_dict(path):
    """
    Read lines from a csv
    ----------
    path: str
        path to csv file

    Returns
    -------
    dict where column1 = key and column2 = value
    """
    lines = {}
    with open(path, 'r') as fh:
        reader = csv.reader(fh)
        for line in reader:
            if not line:
                continue
            lines[line[0]] = line[1]

    return lines