Split quickmarks correctly (from the right).

This was discovered in #189.
This commit is contained in:
Florian Bruhin 2014-10-14 23:29:24 +02:00
parent 9c3650296c
commit 818d2cb9d3

View File

@ -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: