Skip to content

Commit 6440d53

Browse files
committed
[parse_arguments] Replace os.getcwd() with Path.cwd()
1 parent 1675cb1 commit 6440d53

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

font_collector/parse_arguments.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import os
21
from argparse import ArgumentParser
32
from collections.abc import Iterable
43
from datetime import datetime
@@ -73,7 +72,7 @@ def parse_arguments() -> tuple[
7372
"--output",
7473
"-o",
7574
type=Path,
76-
default=os.getcwd(),
75+
default=Path.cwd(),
7776
help="""
7877
Destination path of the font. If -o and -mkv aren't specified, it will be the current path.
7978
""",

0 commit comments

Comments
 (0)