Skip to content

Commit a74017a

Browse files
Extended Main.py with the new offset element
1 parent 8333fc9 commit a74017a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pyOneNote/Main.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ def process_onenote_file(file, output_dir, extension, json_output):
5555
for name, file in data['files'].items():
5656
print('{}{} ({}):'.format(indent, name, file['identity']))
5757
print('\t{}Extension: {}'.format(indent, file['extension']))
58+
print('\t{}At offset: {} ({} bytes)'.format(indent, file['offset'], len(file['content'])))
5859
if(file['identity'] in file_metadata):
5960
for property_name, property_val in file_metadata[file['identity']].items():
6061
print('{}{}: {}'.format(indent+'\t', property_name, str(property_val)))

0 commit comments

Comments
 (0)