Commit 841d1487 by 岳巧源

delete code

parent 90875381
Showing with 0 additions and 6 deletions
......@@ -44,9 +44,6 @@ def handle_hk_csv(file_name, conf: dict, supplier_id: int):
reader = csv.reader(f)
title = []
for index, row in enumerate(reader):
# TODO remember to delete.
if index > 1:
break
if index == 0:
title = row
continue
......@@ -114,9 +111,6 @@ def handle_cn_csv(file_name, conf: dict, supplier_id: int):
reader = f.readlines()
title = []
for j in range(len(reader)):
# TODO remember to delete this code.
if j > 1:
break
data = reader[j]
data = data.replace("\n", '')
row = data.split(sep='\t')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment