Skip to content

Commit

Permalink
PICARD-2749: Avoid deprecated importlib APIs in log module
Browse files Browse the repository at this point in the history
  • Loading branch information
phw committed Sep 8, 2023
1 parent 9009771 commit 33e9c02
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion picard/log.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
if IS_FROZEN:
picard_module_path = Path(FROZEN_TEMP_PATH).joinpath('picard').resolve()
else:
picard_module_path = Path(PathFinder().find_module('picard').get_filename()).resolve()
picard_module_path = Path(PathFinder().find_spec('picard').origin).resolve()

_MAX_TAIL_LEN = 10**6

Expand Down

0 comments on commit 33e9c02

Please sign in to comment.