handle values containing "=" in add-tag and edit-tag

This commit is contained in:
Mike McLean 2016-10-04 09:58:40 -04:00
parent dcf8f52e8f
commit a10aa2c326

View file

@ -4676,7 +4676,7 @@ def handle_add_tag(options, session, args):
if options.extra:
extra = {}
for xopt in options.extra:
key, value = xopt.split('=')
key, value = xopt.split('=', 1)
value = arg_filter(value)
extra[key] = value
opts['extra'] = extra
@ -4729,7 +4729,7 @@ def handle_edit_tag(options, session, args):
if options.extra:
extra = {}
for xopt in options.extra:
key, value = xopt.split('=')
key, value = xopt.split('=', 1)
value = arg_filter(value)
extra[key] = value
opts['extra'] = extra