Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exception if Aads/VariousControls/MiscControls is empty #4

Open
escherstair opened this issue Sep 2, 2021 · 0 comments
Open

Exception if Aads/VariousControls/MiscControls is empty #4

escherstair opened this issue Sep 2, 2021 · 0 comments

Comments

@escherstair
Copy link

I noticed that exception 'NoneType' object has no attribute 'split' comes out if Aads/VariousControls/MiscControls is empty.
Line

mc.strip() for mc in text(to_taa_a, "VariousControls/MiscControls").split(",")

calls text(...).split() but text() can be NoneType if Aads/VariousControls/MiscControls is empty.
Maybe the same exception can happen somewhere else.

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

No branches or pull requests

1 participant