Commit d28f0944 authored by 李康's avatar 李康

some fix

parent 363bd660
......@@ -89,7 +89,9 @@ def getEnglishBrands():
done = []
with open(brand_dir+"/brands.csv", "r") as f:
for line in f.readlines():
done.append(line.strip()[1].split("; "))
done.append(line.split("; ")[1].strip())
print(done)
return
f = open(brand_dir+"/brands.csv", 'a+')
nocnt = 0
......
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 to comment