From: stack Date: Mon, 1 Apr 2013 18:07:36 +0000 (+0200) Subject: fixed indentation typo in gui.py X-Git-Url: https://v.licheni.net/stack/code/dboxswitch.git/commitdiff_plain/f7f331ca8166fd8b4a0c56f065d0021f954ee4c5?ds=inline;hp=dda2468c20a1e823bc969ceb6e8f3a8185496b27 fixed indentation typo in gui.py --- diff --git a/gui.py b/gui.py index bb156a0..8f7cbe9 100644 --- a/gui.py +++ b/gui.py @@ -49,10 +49,10 @@ class Gui(QtGui.QDialog): self.app = QtGui.QApplication(sys.argv) for i in range(3): - if not QtGui.QSystemTrayIcon.isSystemTrayAvailable(): - sleep(4) - else: - break + if not QtGui.QSystemTrayIcon.isSystemTrayAvailable(): + sleep(4) + else: + break #check if system tray is avaiable on the system if not QtGui.QSystemTrayIcon.isSystemTrayAvailable(): QtGui.QMessageBox.critical(None, "Systray",