Commit 14bb953b authored by 李康's avatar 李康

some fix

parent f247f3a1
...@@ -26,9 +26,9 @@ def getBrandDetail(brand, done, en=0): ...@@ -26,9 +26,9 @@ def getBrandDetail(brand, done, en=0):
done.append(res[0]) done.append(res[0])
if len(res) == 3: if len(res) == 3:
if en == 0: if en == 0:
res.index(1, "") res.insert(1, "")
else: else:
res.index(0, "") res.insert(0, "")
return res return res
else: else:
return None return None
......
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