mirror of
https://github.com/openSUSE/osc.git
synced 2025-09-07 21:58:41 +02:00
[python3] decode tmpfile content on edit_message
This commit is contained in:
@@ -7479,7 +7479,7 @@ def request_interactive_review(apiurl, request, initial_cmd='', group=None,
|
||||
elif repl == 'm':
|
||||
if tmpfile is not None:
|
||||
tmpfile.seek(0)
|
||||
comment = edit_message(footer=tmpfile.read())
|
||||
comment = edit_message(footer=decode_it(tmpfile.read()))
|
||||
else:
|
||||
comment = edit_text()
|
||||
create_comment(apiurl, 'request', comment, request.reqid)
|
||||
|
Reference in New Issue
Block a user