parent
ee02f339d7
commit
5a5ff70703
@ -82,9 +82,7 @@ class HintContext:
|
|||||||
"""Get the arguments, with {hint-url} replaced by the given URL."""
|
"""Get the arguments, with {hint-url} replaced by the given URL."""
|
||||||
args = []
|
args = []
|
||||||
for arg in self.args:
|
for arg in self.args:
|
||||||
if arg == '{hint-url}':
|
arg = arg.replace('{hint-url}', urlstr)
|
||||||
args.append(urlstr)
|
|
||||||
else:
|
|
||||||
args.append(arg)
|
args.append(arg)
|
||||||
return args
|
return args
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user