diff options
author | Marcus Comstedt <marcus@mc.pp.se> | 2014-07-07 01:36:22 +0200 |
---|---|---|
committer | Bert Vermeulen <bert@biot.com> | 2014-07-08 15:35:14 +0200 |
commit | 6a0341595610c9d14d4121bb8fa82ab7eeb03693 (patch) | |
tree | 223b6ba136bdaf5766e007120ea96989e09d837a /decoders/mx25lxx05d/pd.py | |
parent | 37b0da68d021530012f17e86b4754d109977ba76 (diff) | |
download | libsigrokdecode-6a0341595610c9d14d4121bb8fa82ab7eeb03693.tar.gz libsigrokdecode-6a0341595610c9d14d4121bb8fa82ab7eeb03693.zip |
srd_decoder_load_all_path: Support zipimport paths
srd_decoder_load() works perfectly with decoders stored inside zip files.
However, srd_decoder_load_all{_path,}() did not, because it assumed that
normal directory listings can be used to enumerate decoders, which is not
the case for zipped decoders. Fix this by providing a fallback based on
the zipimporter Python class.
Diffstat (limited to 'decoders/mx25lxx05d/pd.py')
0 files changed, 0 insertions, 0 deletions