| skipped 130 lines |
131 | 131 | | address = {} |
132 | 132 | | for k, v in locations.items(): |
133 | 133 | | details = self.geolocator.reverse(k) |
| 134 | + | if not details: |
| 135 | + | continue |
134 | 136 | | unix_timestamp = datetime.datetime.fromtimestamp(v) |
135 | 137 | | address[details.address] = unix_timestamp.strftime('%Y-%m-%d %H:%M:%S') |
136 | 138 | | |
| skipped 1745 lines |