Remove unnecessary use of .absolute_path thanks to fspath.

master
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
1 changed files with 1 additions and 1 deletions

View File

@ -462,7 +462,7 @@ class YCDLDB(
raise FileNotFoundError(msg) raise FileNotFoundError(msg)
self.data_directory.makedirs(exist_ok=True) 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 existing_database:
if not skip_version_check: if not skip_version_check: