Skip to content

Commit e927169

Browse files
Fix: Use FileNotFoundError for file not found in main.py
Replaced IOError with FileNotFoundError on line 320 of main.py to use a more specific and appropriate exception for file not found errors.
1 parent b85f277 commit e927169

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/dotenv/main.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -200,6 +200,7 @@ def set_key(
200200
def unset_key(
201201
dotenv_path: StrPath,
202202
key_to_unset: str,
203+
quote_mode: str = "always",
203204
encoding: Optional[str] = "utf-8",
204205
) -> Tuple[Optional[bool], str]:
205206
"""

0 commit comments

Comments
 (0)