Change ctime variable
This commit is contained in:
parent
085a667c73
commit
27c685f5e0
|
|
@ -29,8 +29,8 @@ def pullADSBX(icao):
|
||||||
plane_Dict = None
|
plane_Dict = None
|
||||||
if failed is False:
|
if failed is False:
|
||||||
ac = data['ac']
|
ac = data['ac']
|
||||||
a = data['ctime'] / 1000.0
|
ctime = data['ctime'] / 1000.0
|
||||||
print("UTC of Data:",datetime.utcfromtimestamp(a))
|
print("UTC of Data:",datetime.utcfromtimestamp(ctime))
|
||||||
print("Current UTC:", datetime.utcnow())
|
print("Current UTC:", datetime.utcnow())
|
||||||
if ac != None:
|
if ac != None:
|
||||||
ac_dict = ac[0]
|
ac_dict = ac[0]
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue