Commit 7514e4b3 authored by Maxime Perrotin's avatar Maxime Perrotin
Browse files

Fix connection to sql databases

parent f562e4be
......@@ -151,9 +151,10 @@ class SQLTelecommands(TC):
''' Called when user clicks on a line of the table '''
# Get the ASN.1 value from the database (in native an1scc format)
native_asn1scc = self.sql2asn1(item.text().split()[0])
# native_asn1scc.PrintAll() available
python_var = self.parent.backend.fromASN1ToPyside(native_asn1scc)
self.parent.tmToEditor(python_var, emit_msc=False)
# python_var = self.parent.backend.fromASN1ToPyside(native_asn1scc)
def sql2asn1(self, idx):
row = SQLTelecommands.session.query(
Supports Markdown
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