From 1dc3bbe378ae39b10765c9e0f2a0ef995b4a287c Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sun, 30 Oct 2022 20:11:44 +0000 Subject: move setMirror -> mirrors --- src/frontend/gui/sisyphus-gui.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/frontend/gui') diff --git a/src/frontend/gui/sisyphus-gui.py b/src/frontend/gui/sisyphus-gui.py index 020c47c..5b054e4 100644 --- a/src/frontend/gui/sisyphus-gui.py +++ b/src/frontend/gui/sisyphus-gui.py @@ -320,7 +320,7 @@ class MirrorConfiguration(QtWidgets.QMainWindow): super(MirrorConfiguration, self).__init__() uic.loadUi('/usr/share/sisyphus/ui/mirrorcfg.ui', self) self.centerOnScreen() - self.MIRRORLIST = sisyphus.setMirror.getList() + self.MIRRORLIST = sisyphus.mirrors.getList() self.updateMirrorList() self.applyButton.pressed.connect(self.mirrorCfgApply) self.applyButton.released.connect(self.mirrorCfgExit) @@ -351,7 +351,7 @@ class MirrorConfiguration(QtWidgets.QMainWindow): self.MIRRORLIST[self.ACTIVEMIRRORINDEX]['isActive'] = True def mirrorCfgApply(self): - sisyphus.setMirror.writeList(self.MIRRORLIST) + sisyphus.mirrors.writeList(self.MIRRORLIST) def mirrorCfgExit(self): self.close() -- cgit v1.2.3