Skip to content

Commit

Permalink
remove unnecessary inline comprehension
Browse files Browse the repository at this point in the history
  • Loading branch information
Teque5 committed Nov 14, 2024
1 parent 72faad3 commit 86c0cb0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion sigmf/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down
2 changes: 1 addition & 1 deletion sigmf/sigmffile.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
"""
Expand Down

0 comments on commit 86c0cb0

Please sign in to comment.