diff options
Diffstat (limited to 'rule_checker.py')
-rwxr-xr-x | rule_checker.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rule_checker.py b/rule_checker.py index fc15901..48fe5c6 100755 --- a/rule_checker.py +++ b/rule_checker.py @@ -117,7 +117,7 @@ def ruleCheckInc(file): if description == 1: description = 0 if re.search(r'^__KS_URL__', line): - if not re.search(r'Preset_boards-', descpkg): + if not re.search(r'Preset_boards-', descpkg) and not re.search(r'Preset_sd-', descpkg): error += 1 print("ERROR: Rule 5.7.1. The package: "+descpkg) report(file, lc, line) |