Skip to content

Commit e3b053b

Browse files
author
Roland Győrffi
committed
Extended Main.py with the new offset element
1 parent 717d0f7 commit e3b053b

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

pyOneNote/Main.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ def process_onenote_file(file, output_dir, extension, json_output):
4545
for name, file in data['files'].items():
4646
print('{}{}:'.format(indent, name))
4747
print('\t{}Extension: {}'.format(indent, file['extension']))
48+
print('\t{}At offset: {} ({} bytes)'.format(indent, file['offset'], len(file['content'])))
4849
print('{}'.format( get_hex_format(file['content'][:256], 16, indent+'\t')))
4950

5051
if extension and not extension.startswith("."):

0 commit comments

Comments
 (0)