개정판 cbf23d80
issue #000: check missing symbol
Change-Id: Ide3b785cf3112cd708822fbcbc39f5a2695fba4f
DTI_PID/DTI_PID/RecognitionDialog.py | ||
---|---|---|
818 | 818 |
|
819 | 819 |
# check if symbol file is target or not |
820 | 820 |
if isExceptDetect == 1: |
821 |
item = QListWidgetItem('{} file is not target'.format(os.path.split(os.path.basename(symbolPath))[0]))
|
|
821 |
item = QListWidgetItem('{} file is not target'.format(symbolName))
|
|
822 | 822 |
item.setBackground(QColor('green')) |
823 | 823 |
listWidget.addItem(item) |
824 | 824 |
return |
... | ... | |
827 | 827 |
|
828 | 828 |
# check if symbol file exists |
829 | 829 |
if not os.path.isfile(symbolPath): |
830 |
item = QListWidgetItem('{} file not found'.format(os.path.split(os.path.basename(symbolPath))[0]))
|
|
830 |
item = QListWidgetItem('{} file not found'.format(symbolName))
|
|
831 | 831 |
item.setBackground(QColor('red')) |
832 | 832 |
listWidget.addItem(item) |
833 | 833 |
return |
내보내기 Unified diff