diff options
author | Ruslan Kuprieiev <kupruser@gmail.com> | 2015-01-14 17:32:35 +0300 |
---|---|---|
committer | Pavel Emelyanov <xemul@parallels.com> | 2015-01-14 19:47:43 +0300 |
commit | 912f1a5afbbae0fb7869530b694bf565ff913842 (patch) | |
tree | 5cc46a81bd195ab1cb41907f33ff3faf203ba7cb /crit | |
parent | 12db8f23f550ed82a134c973647060c8388e5334 (diff) |
crit: print new line if orig_type == bin and using stdout
Signed-off-by: Ruslan Kuprieiev <kupruser@gmail.com>
Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
Diffstat (limited to 'crit')
-rwxr-xr-x | crit | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -60,6 +60,8 @@ def convert_img(opts): with open(opts['out'], 'w+') as f: f.write(out_str) else: + if orig_type == 'bin': + out_str += "\n" sys.stdout.write(out_str) def main(): |