Skip to content

Commit

Permalink
refac: ignoring keys starting with
Browse files Browse the repository at this point in the history
  • Loading branch information
Supremesource committed Jun 17, 2024
1 parent 492a7ca commit fed327b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/communex/compat/key.py
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ def local_key_addresses(
home = Path.home()
key_dir = home / '.commune' / "key"

key_names = [f.stem for f in key_dir.iterdir() if f.is_file()]
key_names = [f.stem for f in key_dir.iterdir() if f.is_file() and not f.name.startswith('.')]

addresses_map: dict[str, Ss58Address] = {}

Expand Down

0 comments on commit fed327b

Please sign in to comment.