Skip to content
Snippets Groups Projects
Commit c46745af authored by Lan Dam's avatar Lan Dam
Browse files

remove '' chan in pref_soh_chan

parent 5de19d6d
No related branches found
No related tags found
1 merge request!128plot SOH channels in user's order
Pipeline #2573 passed with stage
in 3 minutes and 33 seconds
This commit is part of merge request !128. Comments created here will be created in the context of that merge request.
......@@ -894,7 +894,8 @@ class MainWindow(QtWidgets.QMainWindow, UIMainWindow):
'WHERE current=1')
if len(rows) > 0:
self.pref_soh_list_name = rows[0]['name']
self.pref_soh_list = [t.strip() for t in rows[0]['IDs'].split(',')]
self.pref_soh_list = [t.strip() for t in rows[0]['IDs'].split(',')
if t.strip() != '']
self.pref_soh_list_data_type = rows[0]['dataType']
def resizeEvent(self, event):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment