Fix arg info doc

This commit is contained in:
hyugogirubato 2024-07-08 19:19:45 +02:00
parent be482c08d8
commit 2464c63551
1 changed files with 3 additions and 0 deletions

View File

@ -85,6 +85,9 @@ class Cdm:
Args:
data (Union[Path, bytes]): The challenge data as a file path or bytes.
Raises:
FileNotFoundError: If the provided file path does not exist.
"""
if isinstance(data, Path):
if not data.is_file():