Split quickmarks correctly (from the right).
This was discovered in #189.
This commit is contained in:
parent
9c3650296c
commit
818d2cb9d3
@ -45,7 +45,7 @@ def init():
|
||||
linecp = lineparser.LineConfigParser(confdir, 'quickmarks')
|
||||
for line in linecp:
|
||||
try:
|
||||
key, url = line.split(maxsplit=1)
|
||||
key, url = line.rsplit(maxsplit=1)
|
||||
except ValueError:
|
||||
message.error(0, "Invalid quickmark '{}'".format(line))
|
||||
else:
|
||||
|
Loading…
Reference in New Issue
Block a user