Ruff formatting

This commit is contained in:
Sylvia Krech
2024-05-04 15:16:31 -05:00
parent ea05907227
commit 523f233f4a

View File

@@ -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