crash.software
Projects
Pull Requests
Issues
Builds
Osintgram
Code
Files
Commits
Branches
Tags
Pull Requests
Code Comments
Code Compare
Issues
List
Boards
Milestones
Builds
Statistics
Contributions
Source Lines
Child Projects
Projects
STRLCPY
Osintgram
Commits
1d7f2c8a
🤬
Sign In
Merge
pull request #525
from sagarbadiyani/skip-locations-without-address-v2
[v2] Fix addrs command - Missing Details for given Lat-Lon
Giuseppe Criscione
committed with
GitHub
2 years ago
1d7f2c8a
2 parents
e56b334d
87a6e80a
Revision indexing in progress... (symbol navigation in revisions will be accurate after indexed)
Total 1 files
■ ■
■ ■ ■ ■
src/commands/address/run.py
skipped 52 lines
53
53
address = {}
54
54
for k, v in locations.items():
55
55
details = self.osintgram.geolocator.reverse(k)
56
+
if not details:
57
+
continue
56
58
unix_timestamp = dt.datetime.fromtimestamp(v)
57
59
address[details.address] = unix_timestamp.strftime('%Y-%m-%d %H:%M:%S')
58
60
skipped 23 lines
All occurrences
Please wait...
Page is in error, reload to recover