mirror of
https://github.com/gryf/wicd.git
synced 2025-12-20 21:08:06 +01:00
Fix some indentation problems and turned off stdout/stderr redirection in wicd.py since it would break things.
This commit is contained in:
@@ -627,7 +627,7 @@ class ConnectionWizard(dbus.service.Object):
|
|||||||
# status, if it doesn't, we aren't connecting.
|
# status, if it doesn't, we aren't connecting.
|
||||||
status = self.wifi.connecting_thread.is_connecting
|
status = self.wifi.connecting_thread.is_connecting
|
||||||
if self.debug_mode == 1:
|
if self.debug_mode == 1:
|
||||||
print 'wireless connecting',status
|
print 'wireless connecting',status
|
||||||
return status
|
return status
|
||||||
else:
|
else:
|
||||||
print 'wireless connecting',False
|
print 'wireless connecting',False
|
||||||
|
|||||||
4
wicd.py
4
wicd.py
@@ -495,8 +495,8 @@ def main(argv):
|
|||||||
use_tray = False
|
use_tray = False
|
||||||
|
|
||||||
# Redirect stderr and stdout for logging purposes
|
# Redirect stderr and stdout for logging purposes
|
||||||
sys.stderr = log
|
#sys.stderr = log
|
||||||
sys.stdout = log
|
#sys.stdout = log
|
||||||
|
|
||||||
# Set up the tray icon GUI and backend
|
# Set up the tray icon GUI and backend
|
||||||
tray_icon = TrayIcon(use_tray)
|
tray_icon = TrayIcon(use_tray)
|
||||||
|
|||||||
Reference in New Issue
Block a user