diff --git a/atom_tools/__init__.py b/atom_tools/__init__.py index 9e7fe8e..ef4ed2b 100644 --- a/atom_tools/__init__.py +++ b/atom_tools/__init__.py @@ -1,4 +1,4 @@ """ A cli, classes and functions for converting an atom slice to a different format """ -__version__ = '0.5.0' +__version__ = '0.5.1' diff --git a/atom_tools/lib/utils.py b/atom_tools/lib/utils.py index 2a26a55..44f3adc 100644 --- a/atom_tools/lib/utils.py +++ b/atom_tools/lib/utils.py @@ -46,7 +46,7 @@ def output_endpoints(data: Dict, names_only: bool, line_range: Tuple[int, int] | continue for k, v in usages.items(): for i in v: - if line_range[0] <= i <= line_range[1]: + if not line_range or line_range[0] <= i <= line_range[1]: to_print += f':{k}:{i}' break to_print += '\n' diff --git a/pyproject.toml b/pyproject.toml index aa3f1c8..9d8a4e0 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "atom-tools" -version = "0.5.0" +version = "0.5.1" description = "Collection of tools for use with AppThreat/atom." authors = [ { name = "Caroline Russell", email = "caroline@appthreat.dev" },