Skip to content
Snippets Groups Projects
Commit e9c654d4 authored by valentin.emiya's avatar valentin.emiya
Browse files

update CI

parent 0b4b08a2
No related branches found
No related tags found
No related merge requests found
Pipeline #5109 failed
...@@ -18,9 +18,9 @@ if __name__ == '__main__': ...@@ -18,9 +18,9 @@ if __name__ == '__main__':
generate_config() generate_config()
config = ConfigParser() config = ConfigParser()
config.read(config_file) config.read(config_file)
print(len(Path(__file__).parents)) print(len(Path(__file__).absolute().parents))
print(list(Path(__file__).parents)) print(list(Path(__file__).absolute().parents))
data_path = Path(__file__).parents[3].absolute() / 'data' data_path = Path(__file__).absolute().parents[3] / 'data'
print('Data path:', str(data_path)) print('Data path:', str(data_path))
config.set('DATA', 'data_path', str(data_path)) config.set('DATA', 'data_path', str(data_path))
config.write(open(config_file, 'w')) config.write(open(config_file, 'w'))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment