mirror of
https://github.com/Schrolli91/BOSWatch.git
synced 2026-01-20 15:20:16 +01:00
Update descriptionList.py
Simplifying RegEx because of set IGNORECASE
This commit is contained in:
parent
c631692bac
commit
dc00fbc7a0
|
|
@ -43,7 +43,7 @@ def loadCSV(typ, idField):
|
|||
for row in reader:
|
||||
logging.debug(row)
|
||||
# only import rows with an integer as id, allow subrics though
|
||||
if re.match("^[0-9A-Fa-f]+$", row[idField], re.IGNORECASE):
|
||||
if re.match("^[0-9A-F]+$", row[idField], re.IGNORECASE):
|
||||
try:
|
||||
resultList[row[idField].lower()] = stringConverter.convertToUTF8(row['description'])
|
||||
except:
|
||||
|
|
|
|||
Loading…
Reference in a new issue