diff --git a/sigmf/__init__.py b/sigmf/__init__.py index e5138a8..982e14a 100644 --- a/sigmf/__init__.py +++ b/sigmf/__init__.py @@ -5,7 +5,7 @@ # SPDX-License-Identifier: LGPL-3.0-or-later # version of this python module -__version__ = "1.2.3" +__version__ = "1.2.4" # matching version of the SigMF specification __specification__ = "1.2.0" diff --git a/sigmf/sigmffile.py b/sigmf/sigmffile.py index a6a9c37..3c616e9 100644 --- a/sigmf/sigmffile.py +++ b/sigmf/sigmffile.py @@ -340,7 +340,7 @@ def get_captures(self): """ Returns a list of dictionaries representing all captures. """ - return [x for x in self._metadata.get(self.CAPTURE_KEY, [])] + return self._metadata.get(self.CAPTURE_KEY, []) def get_capture_info(self, index): """