Commit b02e583e authored by LE GAC Renaud's avatar LE GAC Renaud
Browse files

Fix a bug in CheckAndFix._get_reg_institute.

parent 1e50350d
......@@ -114,13 +114,13 @@ class CheckAndFix(object):
reg_institute = institute.rex()
# additionale rules for the regular expression
# additional rules for the regular expression
add_rules = app.add_rules_reg_institute
if add_rules:
if add_rules.startswith('|'):
reg_institute = "%s%s" (reg_institute, add_rules)
reg_institute = "%s%s" % (reg_institute, add_rules)
else:
reg_institute = "%s|%s" (reg_institute, add_rules)
reg_institute = "%s|%s" % (reg_institute, add_rules)
app.institute = institute
app.reg_institute = reg_institute
......
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