Use pathclass.cwd.

master
Ethan Dalool 2020-09-22 01:56:49 -07:00
parent 9a891b3375
commit d91fcf121b
1 changed files with 1 additions and 1 deletions

View File

@ -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':