Skip to content

Commit

Permalink
Reduce strictness of file path validation
Browse files Browse the repository at this point in the history
  • Loading branch information
tyler-romero committed Dec 18, 2024
1 parent a4f1fd8 commit c9b988a
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/framegrab/grabber.py
Original file line number Diff line number Diff line change
Expand Up @@ -1263,10 +1263,6 @@ def __init__(self, config: dict):
if not filename:
raise ValueError("No filename provided in config under id.filename")

self.filepath = Path(filename).resolve()
if not self.filepath.is_file():
raise OSError(f"File does not exist: {self.filepath}")

self.fps_target = config.get("options", {}).get(
"max_fps",
0, # 0 means no dropping of frames
Expand Down

0 comments on commit c9b988a

Please sign in to comment.