Skip to content

Commit

Permalink
improve walker for ztuac
Browse files Browse the repository at this point in the history
  • Loading branch information
HENDRIX-ZT2 committed Dec 9, 2024
1 parent 5fbd457 commit 1b5753f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions __version__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# this file is auto-generated by the pre-commit hook increment_version.py
VERSION = "2024.12.08"
COMMIT_HASH = "05de2669e"
COMMIT_TIME = "Sun Dec 8 14:29:52 2024 +0100"
COMMIT_HASH = "5fbd4571f"
COMMIT_TIME = "Sun Dec 8 20:05:06 2024 +0100"
2 changes: 1 addition & 1 deletion modules/walker.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ def generate_hash_table(gui, start_dir):
for list_id, attribs in lists.items():
array = getattr(ovl_data, list_id)
if attribs:
arrays = {att: array[att] for att in attribs if att in array}
arrays = {att: array[att] for att in attribs if att in array.dtype.fields}
else:
arrays = {list_id: array}
exts = [f".{ext}" for ext in ovl_data.mimes_ext] if "mimes" in list_id else ovl_data.files_ext
Expand Down

0 comments on commit 1b5753f

Please sign in to comment.