Fix a bug where the wrong text was shown for IPR declarations which specified that licensing terms would be announced later (option d).
- Legacy-Id: 3265
This commit is contained in:
parent
97218e3d4e
commit
818499b494
|
@ -78,7 +78,7 @@ def show(request, ipr_id=None, removed=None):
|
|||
# Very hacky way to get rid of the last part of option 'd':
|
||||
cut = text.find(" (")
|
||||
if cut > 0:
|
||||
text = text[cut:] + "."
|
||||
text = text[:cut] + "."
|
||||
# get rid of the "a) ", "b) ", etc.
|
||||
ipr.licensing_option = text[3:]
|
||||
if ipr.is_pending:
|
||||
|
|
Loading…
Reference in a new issue