logs lat and lon

master
Nicholas Hope 2023-01-06 22:27:13 -05:00
parent 19c1d05340
commit 404e9e1ef8
1 changed files with 2 additions and 1 deletions

View File

@ -119,8 +119,9 @@ def analyze_server(server: Path) -> None:
distance = latlon_distance(self_latlon, latlon) distance = latlon_distance(self_latlon, latlon)
date, time = timethings.split(' ')[:2] date, time = timethings.split(' ')[:2]
lat, lon = latlon
result += ( result += (
f'{server.name},{ip},{distance:.5f},20{date},{time},' f'{server.name},{ip},{lat},{lon},{distance:.5f},20{date},{time},'
+ f'{localdate},{localtime},{method},"{file}"\n' + f'{localdate},{localtime},{method},"{file}"\n'
) )