Change ctime variable
This commit is contained in:
parent
085a667c73
commit
27c685f5e0
|
|
@ -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]
|
||||
|
|
|
|||
Loading…
Reference in New Issue