diff --git a/generators.html b/generators.html index 140a584..61547f2 100755 --- a/generators.html +++ b/generators.html @@ -297,7 +297,7 @@ rules = []
def rules(rules_filename):
- with open('plural5-rules.txt', encoding='utf-8') as pattern_file:
+ with open(rules_filename, encoding='utf-8') as pattern_file:
for line in pattern_file:
pattern, search, replace = line.split(None, 3)
yield build_match_and_apply_functions(pattern, search, replace)