Fix telemetry and improts

This commit is contained in:
Artem30801
2020-02-10 15:50:20 +03:00
parent 01bf95e863
commit ec419849e8
2 changed files with 4 additions and 3 deletions

View File

@@ -1,8 +1,9 @@
import math
import os
import re
import subprocess
import sys
import math
import time
import subprocess
from contextlib import suppress
from functools import partialmethod

View File

@@ -271,7 +271,7 @@ class MainWindow(QtWidgets.QMainWindow):
def update_table_data(self, client, telems: dict):
for key, value in telems.items():
try:
col = self.model.index(key)
col = self.model.columns.index(key)
except ValueError:
logging.error(f"No column {key} present!")
else: