feeds: fix function def

master
pictuga 2020-03-17 11:08:40 +01:00
parent 8a4f86210c
commit 9c557ea02c
1 changed files with 1 additions and 1 deletions

View File

@ -214,7 +214,7 @@ class ParserBase(object):
# for use in @property, ie. self.get_str('title') # for use in @property, ie. self.get_str('title')
return self.rule_str(self.rules[rule_name]) return self.rule_str(self.rules[rule_name])
def set_str(self, rule_name): def set_str(self, rule_name, value):
try: try:
return self.rule_set(self.rules[rule_name], value) return self.rule_set(self.rules[rule_name], value)