mirror of
https://gitlab.com/pamhyr/pamhyr2.git
synced 2026-10-30 03:20:41 +01:00
SQLite debug: files with space in name can now be open
This commit is contained in:
1 parent
0c7fecb123
commit
e3fbe59585
2 files changed
+30
-5
No files matched your search
@@ -2306,11 +2306,7 @@ class ApplicationWindow(QMainWindow, ListedSubWindow, WindowToolKit):
|
||||
logger.debug("No study open for sql debuging...")
|
||||
return
|
||||
|
||||
# todo : gérer le cas où le dossier a un espace dans le nom
|
||||
# (ne veut pas ouvrir sqlitebrowser)
|
||||
|
||||
file = self._study.filename
|
||||
_ = subprocess.Popen(
|
||||
f"sqlitebrowser {file}",
|
||||
shell=True
|
||||
["sqlitebrowser", file]
|
||||
)
|
||||
Reference in new issue
Block a user