Read csv file without -c
This commit is contained in:
parent
e08dfc02f7
commit
98671f7916
|
@ -11,13 +11,7 @@ import pandas as pd
|
|||
def parse_args():
|
||||
parser = argparse.ArgumentParser(description="Parse Hubspot Contacts CSV Export")
|
||||
|
||||
parser.add_argument(
|
||||
"-c",
|
||||
"--csv",
|
||||
help="Contacts CSV File",
|
||||
type=str,
|
||||
required=True,
|
||||
)
|
||||
parser.add_argument("csv_file", help="Contacts CSV File", type=str)
|
||||
|
||||
parser.add_argument(
|
||||
"-d",
|
||||
|
@ -93,7 +87,7 @@ def csv_non_empty(CSV):
|
|||
|
||||
def main():
|
||||
args = parse_args()
|
||||
CSV = args.csv
|
||||
CSV = args.csv_file
|
||||
|
||||
if args.dump:
|
||||
csv_dump(CSV)
|
||||
|
|
Loading…
Reference in a new issue