优化均价计算代码

This commit is contained in:
2018-06-14 10:21:49 +08:00
parent edec81814c
commit b01cd257ec
3 changed files with 3 additions and 6 deletions
+1 -1
View File
@@ -376,7 +376,7 @@ def find_region_district_list_name(query, fields=None):
# client1 = pymongo.MongoClient('192.168.0.136',27017)
# db1 = client1.fangjia
# seaweed1 = db1.seaweed
seawater105 = get_collection("fangjia", "seaweed", 'mongo.db.fangjia.com', 27017)
seawater105 = get_collection("fangjia", "seaweed", config.get_seaweed_host(), 27017)
for err_count in range(0, 2):
try: