Skip to content

Commit

Permalink
fix: make encoding keyword only
Browse files Browse the repository at this point in the history
  • Loading branch information
Ravencentric committed Oct 11, 2024
1 parent ddfab3e commit 2ac1502
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/nzb/_core.py
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,7 @@ def save(self, filename: StrPath | None = None, *, overwrite: bool = False) -> P
return outfile

@classmethod
def from_file(cls, nzb: StrPath, encoding: str = "utf-8") -> Self:
def from_file(cls, nzb: StrPath, *, encoding: str = "utf-8") -> Self:
"""
Create an NZBMetaEditor instance from an NZB file path.
Expand Down

0 comments on commit 2ac1502

Please sign in to comment.