Use pathclass.cwd.
This commit is contained in:
parent
9a891b3375
commit
d91fcf121b
1 changed files with 1 additions and 1 deletions
|
@ -659,7 +659,7 @@ def markdown_flask(core_filename, port, *args, **kwargs):
|
|||
if core_filename.is_dir:
|
||||
cwd = core_filename
|
||||
else:
|
||||
cwd = pathclass.Path('.')
|
||||
cwd = pathclass.cwd()
|
||||
|
||||
def handle_path(path):
|
||||
if path.extension == '.md':
|
||||
|
|
Loading…
Reference in a new issue