Skip to content

truncate_corrupted_offsets() crashes due to _xml2dict returning None if <footer><info> is empty#164

Open
insane-dreamer wants to merge 1 commit intoxdf-modules:mainfrom
intheon:fix/footer-info-none
Open

truncate_corrupted_offsets() crashes due to _xml2dict returning None if <footer><info> is empty#164
insane-dreamer wants to merge 1 commit intoxdf-modules:mainfrom
intheon:fix/footer-info-none

Conversation

@insane-dreamer
Copy link

Optionally, one could change truncate_corrupted_offsets (new with 1.7.x) to handle a None return, but it seems cleaner to fix it upstream.

…t returning None instead of {} if footer[info] is empty
@cbrnr
Copy link
Contributor

cbrnr commented Feb 12, 2026

Can you fix the style issues please? Otherwise LGTM!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants