diff options
Diffstat (limited to 'module/gui/ConnectionManager.py')
-rw-r--r-- | module/gui/ConnectionManager.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/module/gui/ConnectionManager.py b/module/gui/ConnectionManager.py index 8dfdf7dd2..eb6e68f02 100644 --- a/module/gui/ConnectionManager.py +++ b/module/gui/ConnectionManager.py @@ -40,7 +40,7 @@ class ConnectionManager(QWidget): buttonLayout = QVBoxLayout() self.setWindowTitle(_("pyLoad ConnectionManager")) - self.setWindowIcon(QIcon(join(pypath, "icons","logo.png"))) + self.setWindowIcon(QIcon(join(pypath, "icons", "logo.png"))) connList = QListWidget() @@ -118,7 +118,7 @@ class ConnectionManager(QWidget): self.connList.setCurrentItem(item) def slotNew(self): - data = {"id":uuid().hex, "type":"remote", "default":False, "name":"", "host":"", "port":"7228", "user":"admin", "password":""} + data = {"id": uuid().hex, "type":"remote", "default": False, "name":"", "host":"", "port":"7228", "user":"admin", "password":""} self.edit.setData(data) self.edit.show() @@ -183,7 +183,7 @@ class ConnectionManager(QWidget): QWidget.__init__(self) self.setWindowTitle(_("pyLoad ConnectionManager")) - self.setWindowIcon(QIcon(join(pypath, "icons","logo.png"))) + self.setWindowIcon(QIcon(join(pypath, "icons", "logo.png"))) grid = QGridLayout() @@ -201,7 +201,7 @@ class ConnectionManager(QWidget): password = QLineEdit() password.setEchoMode(QLineEdit.Password) port = QSpinBox() - port.setRange(1,10000) + port.setRange(1, 10000) save = QPushButton(_("Save")) cancel = QPushButton(_("Cancel")) |