Commit 912f1a5a authored by Ruslan Kuprieiev's avatar Ruslan Kuprieiev Committed by Pavel Emelyanov

crit: print new line if orig_type == bin and using stdout

Signed-off-by: 's avatarRuslan Kuprieiev <kupruser@gmail.com>
Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
parent 12db8f23
...@@ -60,6 +60,8 @@ def convert_img(opts): ...@@ -60,6 +60,8 @@ def convert_img(opts):
with open(opts['out'], 'w+') as f: with open(opts['out'], 'w+') as f:
f.write(out_str) f.write(out_str)
else: else:
if orig_type == 'bin':
out_str += "\n"
sys.stdout.write(out_str) sys.stdout.write(out_str)
def main(): def main():
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment