mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-06-21 01:24:06 -04:00
Fix flake8 (#4519)
This commit is contained in:
parent
457fbfaf22
commit
3f189c902e
12 changed files with 94 additions and 102 deletions
|
@ -84,7 +84,7 @@ def _rule_to_template(rule):
|
|||
templaterule["pattern"] = thecond["pattern"]
|
||||
|
||||
if unscoped_rule_id:
|
||||
templaterule['rule_id'] = unscoped_rule_id
|
||||
templaterule['rule_id'] = unscoped_rule_id
|
||||
if 'default' in rule:
|
||||
templaterule['default'] = rule['default']
|
||||
return templaterule
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue