summaryrefslogtreecommitdiff
path: root/src/frontend
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-09-01 22:56:41 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-09-01 22:56:41 +0100
commitd476149f4e04e72b90faa649e4cefac2883c4c3a (patch)
treee85ccc9b8fb8feeca1e56c45a5420c72a9582d16 /src/frontend
parentad95927e5b910eba9c35559b4631bb07563b9567 (diff)
ooops, placed variable in wrong place
Diffstat (limited to 'src/frontend')
-rwxr-xr-xsrc/frontend/gui/sisyphus-gui.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/frontend/gui/sisyphus-gui.py b/src/frontend/gui/sisyphus-gui.py
index e6442e3..36e8070 100755
--- a/src/frontend/gui/sisyphus-gui.py
+++ b/src/frontend/gui/sisyphus-gui.py
@@ -3,8 +3,6 @@ import sys, subprocess, sqlite3
from PyQt5 import QtCore, QtGui, QtWidgets, uic
from libsisyphus import *
-PKGLIST = self.database.item(self.database.currentRow(), 1).text()
-
class Sisyphus(QtWidgets.QMainWindow):
def __init__(self):
super(Sisyphus, self).__init__()
@@ -28,9 +26,11 @@ class Sisyphus(QtWidgets.QMainWindow):
(resolution.height() / 2) - (self.frameSize().height() / 2))
def install_package(self):
+ PKGLIST = self.database.item(self.database.currentRow(), 1).text()
sisyphus_pkg_auto_install(PKGLIST.split())
def uninstall_package(self):
+ PKGLIST = self.database.item(self.database.currentRow(), 1).text()
sisyphus_pkg_auto_uninstall(PKGLIST.split())
def remove_orphans(self):