修改不更新bug
This commit is contained in:
@@ -136,11 +136,11 @@ def sync(city=None):
|
|||||||
seaweed_df.loc[index, 'avg_cost'] = price
|
seaweed_df.loc[index, 'avg_cost'] = price
|
||||||
else:
|
else:
|
||||||
seaweed_df.loc[index, 'avg_cost'] = None
|
seaweed_df.loc[index, 'avg_cost'] = None
|
||||||
# with ThreadPoolExecutor(max_workers=80) as pool:
|
with ThreadPoolExecutor(max_workers=80) as pool:
|
||||||
# for index, item in seaweed_df.iterrows():
|
for index, item in seaweed_df.iterrows():
|
||||||
# pool.submit(find_around_price_item, index, item)
|
pool.submit(find_around_price_item, index, item)
|
||||||
for index, item in seaweed_df.iterrows():
|
# for index, item in seaweed_df.iterrows():
|
||||||
find_around_price_item(index, item)
|
# find_around_price_item(index, item)
|
||||||
actions = list()
|
actions = list()
|
||||||
count = 0
|
count = 0
|
||||||
for index, item in seaweed_df.iterrows():
|
for index, item in seaweed_df.iterrows():
|
||||||
|
|||||||
Reference in New Issue
Block a user