Commit 4e40f4d1 authored by Takhir Fakhrutdinov's avatar Takhir Fakhrutdinov

Косяк призагрузке ЭОП json

parent 6a35aaaf
......@@ -116,7 +116,7 @@ def parsefile(f):
mcnt += cnt
# Формируем проводку
params = {k:f(t[k]) for k,f in track_list.items() if k in t and t.get(k) is not None}
params.update(dict(bind={k:f(b[k]) for k,f in bind_list.items() if k in b and b.get(k) is not None}))
if b: params.update(dict(bind={k:f(b[k]) for k,f in bind_list.items() if k in b and b.get(k) is not None}))
params.update(dict(cnt=cnt,mag=avg_m,obj=t['trackid'],area=t.get('target')))
tr = dict(
tm=te,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment