File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -135,7 +135,7 @@ def check(self):
135135 position = last_info ["d" ]["oldInfo" ]['geo_api_info' ]
136136 position = json_loads (position )
137137
138- print ("◉上一次提交地址为:" , position ['address ' ])
138+ print ("◉上一次提交地址为:" , position ['formattedAddress ' ])
139139 # print("◉上一次提交GPS为", position["position"])
140140
141141 today = time .strftime ("%Y%m%d" , time .localtime ())
@@ -163,7 +163,7 @@ def checkin(self):
163163
164164 geo_api_info = json_loads (self .last_info ["geo_api_info" ])
165165 province = geo_api_info ["addressComponent" ].get ("province" , "" )
166- city = json_loads ( self .last_info ["city" ])
166+ city = self .last_info ["city" ]
167167 district = geo_api_info ["addressComponent" ].get ("district" , "" )
168168 self .last_info .update (
169169 {
You can’t perform that action at this time.
0 commit comments