Skip to content

Commit

Permalink
fixed TypeError
Browse files Browse the repository at this point in the history
  • Loading branch information
danellecline committed Feb 29, 2024
1 parent 69e08e0 commit 92141d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/json_generator/gen_nrs.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ def run(self):
self.log.error(f'S3 is not supported for NRS audio files')
return

def parse_filename(f: str) -> datetime | None:
def parse_filename(f: str) -> datetime:
"""
Check if the file matches the search pattern and is within the start and end dates
:param f:
Expand Down

0 comments on commit 92141d5

Please sign in to comment.