diff --git a/PriceSystem/rent_price/district_map0413.py b/PriceSystem/rent_price/district_map0413.py index d36bd9c..fcfdfe0 100644 --- a/PriceSystem/rent_price/district_map0413.py +++ b/PriceSystem/rent_price/district_map0413.py @@ -139,7 +139,7 @@ def common_rent_price(ct,rl,p,timd,timm,region_feature,mongodb): #client1 = pymongo.MongoClient('192.168.0.136',27017) #db1 = client1.fangjia #seaweed1 = db1.seaweed - seaweed136=fangjia.get_collection("fangjia","seaweed", config.get_mongodb_host(),config.get_mongodb_port()) + seaweed136=fangjia.get_collection("fangjia","seaweed", config.get_seaweed_host(),config.get_mongodb_port()) query1 = {"status":0,"cat":"district","city":ct, "region":rl, "name":dirlt}