mirror of
https://github.com/TagStudioDev/TagStudio.git
synced 2026-02-01 15:49:09 +00:00
Ruff formatting
This commit is contained in:
@@ -563,9 +563,14 @@ class QtDriver(QObject):
|
||||
break
|
||||
# If the parent directory got moved, or deleted, prompt user for where to save.
|
||||
except FileNotFoundError:
|
||||
logging.info("Library parent directory not found, prompting user to select the directory")
|
||||
logging.info(
|
||||
"Library parent directory not found, prompting user to select the directory"
|
||||
)
|
||||
dir = QFileDialog.getExistingDirectory(
|
||||
None, "Library Location not found, please select location to save Library", "/", QFileDialog.ShowDirsOnly
|
||||
None,
|
||||
"Library Location not found, please select location to save Library",
|
||||
"/",
|
||||
QFileDialog.ShowDirsOnly,
|
||||
)
|
||||
if dir not in (None, ""):
|
||||
self.lib.library_dir = dir
|
||||
|
||||
Reference in New Issue
Block a user