@@ -42,8 +42,6 @@ class Command(CompatibilityBaseCommand): |
||
42 | 42 |
gisinfo = requests.get(settings.GIS_2_ADMINISTRATIVE_DIVISION.format(v.get('lat', 0), v.get('lon', 0))).json() |
43 | 43 |
except Exception as e: |
44 | 44 |
logger.info(e.message) |
45 |
- if gisinfo.get('error') != 0: |
|
46 |
- continue |
|
47 | 45 |
|
48 | 46 |
zh1 = gisinfo.get('data', {}).get('zh1', '') |
49 | 47 |
|