diff options
author | Vasil Velichkov <vvvelichkov@gmail.com> | 2020-01-23 01:02:44 +0200 |
---|---|---|
committer | devnulling <devnulling@users.noreply.github.com> | 2020-01-22 20:44:19 -0800 |
commit | 076d264d2443efbdf2a1f058da701309af9dc304 (patch) | |
tree | 622b6347c357eba1db4222cae66984b1c5658f58 /gr-digital/python/digital/qa_header_payload_demux.py | |
parent | f72099fb4da5aae1293962ee6f6be38ba8993683 (diff) |
grc: Display documentation for blocks without category key
Check that the category list is not empty before accessing its first
element. Some OOT modules does not have category key and documentation
tab is left empty because of this missing check.
Traceback (most recent call last):
File "/usr/local/lib64/python3.7/site-packages/gnuradio/grc/gui/PropsDialog.py", line 210, in update_gui
self._update_docs_page()
File "/usr/local/lib64/python3.7/site-packages/gnuradio/grc/gui/PropsDialog.py", line 220, in _update_docs_page
if self._block.category[0] == "Core":
IndexError: list index out of range
Diffstat (limited to 'gr-digital/python/digital/qa_header_payload_demux.py')
0 files changed, 0 insertions, 0 deletions