Skip to content

Commit

Permalink
Fix for component.py
Browse files Browse the repository at this point in the history
  • Loading branch information
SchrodingersGat committed Nov 15, 2023
1 parent f7a7c8b commit aebf4ac
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions kibom/component.py
Original file line number Diff line number Diff line change
Expand Up @@ -424,7 +424,7 @@ def testRegExclude(self):

for reg in self.prefs.regExcludes:

if type(reg) == list and len(reg) == 2:
if type(reg) is list and len(reg) == 2:
field_name, regex = reg
field_value = self.getField(field_name)

Expand Down Expand Up @@ -456,7 +456,7 @@ def testRegInclude(self):

for reg in self.prefs.regIncludes:

if type(reg) == list and len(reg) == 2:
if type(reg) is list and len(reg) == 2:
field_name, regex = reg
field_value = self.getField(field_name)

Expand Down

0 comments on commit aebf4ac

Please # to comment.