Change ctime variable

This commit is contained in:
Jxck-S 2020-09-19 17:35:11 -04:00
parent 085a667c73
commit 27c685f5e0
1 changed files with 2 additions and 2 deletions

View File

@ -29,8 +29,8 @@ def pullADSBX(icao):
plane_Dict = None
if failed is False:
ac = data['ac']
a = data['ctime'] / 1000.0
print("UTC of Data:",datetime.utcfromtimestamp(a))
ctime = data['ctime'] / 1000.0
print("UTC of Data:",datetime.utcfromtimestamp(ctime))
print("Current UTC:", datetime.utcnow())
if ac != None:
ac_dict = ac[0]