cmake-uvision-syncer icon indicating copy to clipboard operation
cmake-uvision-syncer copied to clipboard

Exception if Aads/VariousControls/MiscControls is empty

Open escherstair opened this issue 2 years ago • 0 comments

I noticed that exception 'NoneType' object has no attribute 'split' comes out if Aads/VariousControls/MiscControls is empty. Line https://github.com/bojanpotocnik/cmake-uvision-syncer/blob/049524cc18bcd17e2db54dee6b97d69429e37c5b/main.py#L414 calls text(...).split() but text() can be NoneType if Aads/VariousControls/MiscControls is empty. Maybe the same exception can happen somewhere else.

escherstair avatar Sep 02 '21 07:09 escherstair