Skip to content

Commit

Permalink
fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
LoRexxar committed Oct 27, 2021
1 parent 3f84401 commit bec1479
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/rule.py
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ def check_and_update_rule_database(self, ruleconfig_content, nowrule, config, al

svid = nowrule.svid
ruleconfig_content = str(ruleconfig_content)
nowrule_content = getattr(nowrule, config).replace(r'\"', '"')
nowrule_content = str(getattr(nowrule, config)).replace(r'\"', '"')

if ruleconfig_content.lower() != str(getattr(nowrule, config)).lower():
logger.warning("[INIT][Rule Check] CVI_{} config {} has changed:".format(svid, config))
Expand Down

0 comments on commit bec1479

Please sign in to comment.