fix broken instance/type check
All checks were successful
Build and Push Docker Image / build (push) Successful in 12s
All checks were successful
Build and Push Docker Image / build (push) Successful in 12s
This commit is contained in:
parent
2b6f68de0d
commit
32b51fcd1d
@ -14,7 +14,7 @@ class LogFileReader:
|
||||
"""
|
||||
"""
|
||||
def __init__(self, file_path: Path):
|
||||
if type(file_path) != Path:
|
||||
if not isinstance(file_path, Path):
|
||||
raise TypeError(f"file_path must be type Path, not {type(file_path)}")
|
||||
|
||||
self.file_path = file_path
|
||||
|
Reference in New Issue
Block a user