Fixed None type in EmployeeModel.py
This commit is contained in:
@@ -70,7 +70,8 @@ class EmployeeModel(QAbstractTableModel):
|
||||
if applicant_col == 2 and self.__everyone:
|
||||
tr = 'Ja' if tr == 1 else 'Nein'
|
||||
else:
|
||||
tr = re.sub("Keine Angabe ","", tr)
|
||||
if tr:
|
||||
tr = re.sub("Keine Angabe ","", tr)
|
||||
#print(f"Data: {tr}")
|
||||
# return row[index.column() + 2]
|
||||
return tr
|
||||
|
||||
Reference in New Issue
Block a user