Convert create_datadir to Pathlib

This commit is contained in:
Matthias
2019-07-17 20:53:29 +02:00
parent fbd229810f
commit 8b4827ad85
3 changed files with 12 additions and 10 deletions

View File

@@ -39,7 +39,7 @@ class PairListResolver(IResolver):
current_path = Path(__file__).parent.parent.joinpath('pairlist').resolve()
abs_paths = [
current_path.parent.parent.joinpath('user_data/pairlist'),
Path.cwd().joinpath('user_data/pairlist'),
current_path,
]