diff --git a/hsparse/parse_csv_contacts.py b/hsparse/parse_csv_contacts.py index e9a8104..7995399 100644 --- a/hsparse/parse_csv_contacts.py +++ b/hsparse/parse_csv_contacts.py @@ -48,7 +48,7 @@ def parse_args(): return args -def dump_csv(CSV): +def csv_dump(CSV): with open(CSV, newline="") as csvfile: contactreader = csv.reader(csvfile, delimiter=",", quotechar='"') for row in contactreader: @@ -59,10 +59,8 @@ def main(): args = parse_args() CSV = args.csv - print("Parsing" + CSV) - if args.dump: - dump_csv(CSV) + csv_dump(CSV) if __name__ == "__main__":