Remove unnecessary use of .absolute_path thanks to fspath.

This commit is contained in:
voussoir 2021-12-07 12:43:17 -08:00
parent 62a90096fb
commit 89621d2976
No known key found for this signature in database
GPG key ID: 5F7554F8C26DACCB

View file

@ -462,7 +462,7 @@ class YCDLDB(
raise FileNotFoundError(msg)
self.data_directory.makedirs(exist_ok=True)
self.sql = sqlite3.connect(self.database_filepath.absolute_path)
self.sql = sqlite3.connect(self.database_filepath)
if existing_database:
if not skip_version_check: