瀏覽代碼

add .gitignore

Mike 5 年之前
父節點
當前提交
c88c294dfa
共有 2 個文件被更改,包括 4 次插入2 次删除
  1. 2 0
      .gitignore
  2. 2 2
      index.py

+ 2 - 0
.gitignore

@@ -0,0 +1,2 @@
+__pycache__
+*.swp

+ 2 - 2
index.py

@@ -381,8 +381,8 @@ if __name__ == '__main__':
 
   #new_properties = []
 
-  for county in ['Walton']:							### FIX
-    mysearch = Search(county, type=['farm'], upper_price=400000)		### FIX
+  for county in gmls.counties:							### FIX
+    mysearch = Search(county, type=['farm', 'house', 'land'], upper_price=525000)		### FIX
     mydata = gmls.getmlsdata(mysearch)
 
     gmls.connectdb()