Commit 182fb4fc authored by anonym's avatar anonym
Browse files

tor-controlport-filter: fix typo.

parent 8fcd89b1
...@@ -210,7 +210,7 @@ def match_and_parse_filter(filters, matchers): ...@@ -210,7 +210,7 @@ def match_and_parse_filter(filters, matchers):
allowed_args[i] = {'pattern': allowed_args[i]} allowed_args[i] = {'pattern': allowed_args[i]}
allowed_commands[cmd.upper()] = allowed_args allowed_commands[cmd.upper()] = allowed_args
# Prase `confs`, which is just syntactic sugar # Parse `confs`, which is just syntactic sugar
confs = matched_filter.get('confs', {}) or {} confs = matched_filter.get('confs', {}) or {}
combined_getconf_rule = {'pattern': "(" + "|".join([ combined_getconf_rule = {'pattern': "(" + "|".join([
key for key in confs]) + ")"} key for key in confs]) + ")"}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment