Remove unnecessary use of .absolute_path thanks to fspath.
This commit is contained in:
parent
62a90096fb
commit
89621d2976
1 changed files with 1 additions and 1 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue