Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
岳巧源
/
europa-erp-python
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
841d1487
authored
Sep 19, 2024
by
岳巧源
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
delete code
parent
90875381
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
6 deletions
rs_data.py
rs_data.py
View file @
841d1487
...
...
@@ -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
'
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment