On Ubuntu paths don't work in os.chdir, use strings

merge-requests/54/head
David Corne 2020-07-06 17:06:42 +01:00
parent 4e33f9626f
commit 5bce34d195
1 changed files with 2 additions and 2 deletions

View File

@ -11,8 +11,8 @@ import pathlib
DBFILE = 'tmp.db' DBFILE = 'tmp.db'
DBOUTPUT_PATH = pathlib.Path().absolute().parent DBOUTPUT_PATH = str(pathlib.Path().absolute().parent)
DATA_PATH = pathlib.Path().absolute().parent / 'data' DATA_PATH = str(pathlib.Path().absolute().parent / 'data')
def main(): def main():