Skip to content

Commit

Permalink
Fix typing error
Browse files Browse the repository at this point in the history
  • Loading branch information
whyitfor committed Jan 8, 2025
1 parent 510324f commit a7bf4e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ofrak_core/ofrak/core/magic.py
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ class MagicDescriptionPattern:
matchers: Dict[Callable, ResourceTag] = dict()

@classmethod
def register(cls, resource_tag: ResourceTag, matcher: Callable[[], bool]):
def register(cls, resource_tag: ResourceTag, matcher: Callable[[str], bool]):
"""
Register a callable that determines whether the given resource tag should be applied.
"""
Expand Down

0 comments on commit a7bf4e7

Please sign in to comment.