Use absolute path for data_dir

This commit is contained in:
Mikhail Gordeev 2021-06-16 01:35:48 +03:00
parent a71f1c1d6d
commit f3cde49280

View File

@ -69,7 +69,7 @@ class CB:
'~/.local/share')))
/ f'{PROG}')
else:
data_dir = Path(data_dir)
data_dir = Path(data_dir).absolute()
self.data_dir = data_dir
self.checksum_command = 'sha256sum'