diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2020-06-23 21:48:35 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2020-06-23 21:48:35 (GMT) |
commit | 1a73afdd420c8648fb58d7e3fb9d80b06f975acd (patch) | |
tree | 8c6b6783e84bac4497af89988c7299a44509faa5 /python | |
parent | b52156f428ae79f45a71cda8e60dcdb8dc193f68 (diff) |
Fixed the indentation.
Diffstat (limited to 'python')
-rw-r--r-- | python/unpackbootimg.py | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/python/unpackbootimg.py b/python/unpackbootimg.py index aa745fa..66cbcb6 100644 --- a/python/unpackbootimg.py +++ b/python/unpackbootimg.py @@ -151,13 +151,13 @@ if __name__ == '__main__': print('No kernel to extract!') - if args.ramdisk: + if args.ramdisk: - if fmt.ramdisk: + if fmt.ramdisk: - with open('ramdisk.bin', 'wb') as fd: - fd.write(fmt.ramdisk.data) + with open('ramdisk.bin', 'wb') as fd: + fd.write(fmt.ramdisk.data) - else: + else: - print('No ramdisk to extract!') + print('No ramdisk to extract!') |