From 5bce34d195f7b3fe1b4f6a0a6fd3967481e2659b Mon Sep 17 00:00:00 2001 From: David Corne Date: Mon, 6 Jul 2020 17:06:42 +0100 Subject: [PATCH] On Ubuntu paths don't work in os.chdir, use strings --- bin/gendb.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/gendb.py b/bin/gendb.py index 24ad979..ae8428c 100644 --- a/bin/gendb.py +++ b/bin/gendb.py @@ -11,8 +11,8 @@ import pathlib DBFILE = 'tmp.db' -DBOUTPUT_PATH = pathlib.Path().absolute().parent -DATA_PATH = pathlib.Path().absolute().parent / 'data' +DBOUTPUT_PATH = str(pathlib.Path().absolute().parent) +DATA_PATH = str(pathlib.Path().absolute().parent / 'data') def main():