Skip to content

Commit

Permalink
Update prefutils.py
Browse files Browse the repository at this point in the history
sub[isforced] is a boolean, not a ext field
  • Loading branch information
rockrider69 committed Oct 18, 2023
1 parent 9084cdd commit a591c1b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resources/lib/prefutils.py
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,7 @@ def testForcedFlag(self, forced, subName, subForcedTag):
test = subName.lower()
matches = ['forced', 'forcés']
found = any(x in test for x in matches)
return ((forced == 'false') and not found) or ((forced == 'true') and found) or ((forced == 'true') and subForcedTag == 'True') or ((forced == 'false') and subForcedTag == 'False')
return ((forced == 'false') and not found) or ((forced == 'true') and found) or ((forced == 'true') and subForcedTag) or ((forced == 'false') and not subForcedTag)

def isExternalSub(self, subName):
test = subName.lower()
Expand Down

0 comments on commit a591c1b

Please sign in to comment.