diff options
author | 2014-04-10 13:37:02 +0200 | |
---|---|---|
committer | 2014-06-28 02:51:58 +0200 | |
commit | 2ff2fb0495febe11d5015d2308d67e1d8048e597 (patch) | |
tree | 2ae9d1da4a701fc6b3945ccc32dfbbf102b9c85a /module/gui/ConnectionManager.py | |
parent | Localization badge (diff) | |
download | pyload-2ff2fb0495febe11d5015d2308d67e1d8048e597.tar.xz |
Some code cosmetics about commas, spaces and quotes
Merges #577
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")) |