mirror of
https://gitlab.com/pamhyr/pamhyr2.git
synced 2026-10-30 03:20:41 +01:00
pep8
This commit is contained in:
1 parent
4d026afb2c
commit
c60a0938eb
4 files changed
+12
-10
No files matched your search
@@ -275,7 +275,7 @@ class InitialConditionsWindow(PamhyrWindow):
|
||||
|
||||
if filename != "":
|
||||
size = os.stat(filename).st_size
|
||||
#self._table.import_geometry(0, filename)
|
||||
# self._table.import_geometry(0, filename)
|
||||
print(f"filename: {filename}")
|
||||
self._import_from_file(filename)
|
||||
|
||||
|
||||
@@ -1550,9 +1550,9 @@ class ApplicationWindow(QMainWindow, ListedSubWindow, WindowToolKit):
|
||||
|
||||
if self._study.filename is not None:
|
||||
if self._last_solver is None:
|
||||
dialog.setDirectory(
|
||||
os.path.dirname(self._study.filename)
|
||||
)
|
||||
dialog.setDirectory(
|
||||
os.path.dirname(self._study.filename)
|
||||
)
|
||||
else:
|
||||
dialog.setDirectory(
|
||||
self._solver_workdir(self._last_solver)
|
||||
|
||||
Reference in new issue
Block a user