Skip to content

Commit 5da8cff

Browse files
committed
Fix imports
1 parent e5dce0f commit 5da8cff

2 files changed

Lines changed: 1 addition & 4 deletions

File tree

cdprep/app/mainwindow.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ def _restore_window_geometry(self):
154154
hexstate = hexstate_to_qbytearray(hexstate)
155155
self.restoreGeometry(hexstate)
156156
else:
157-
from gwhat.config.gui import INIT_MAINWINDOW_SIZE
157+
from cdprep.config.gui import INIT_MAINWINDOW_SIZE
158158
self.resize(*INIT_MAINWINDOW_SIZE)
159159

160160
def _save_window_geometry(self):

cdprep/app/tests/test_mainwindow.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,10 @@
2020
from appconfigs.base import get_home_dir
2121
import pytest
2222
from qtpy.QtCore import QSize
23-
from qtpy.QtWidgets import QFileDialog, QMessageBox
2423

2524
# ---- Local imports
26-
from cdprep import __rootdir__
2725
from cdprep.config.gui import INIT_MAINWINDOW_SIZE
2826
from cdprep.app.mainwindow import MainWindow, CONF
29-
from cdprep.dwnld_data.weather_station_finder import DATABASE_FILEPATH
3027

3128

3229
# =============================================================================

0 commit comments

Comments
 (0)