mirror of
https://github.com/gryf/wicd.git
synced 2026-01-03 12:24:14 +01:00
fixing more Python version issues
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
#!/usr/bin/python
|
||||
#!/usr/bin/env python
|
||||
|
||||
""" autoconnect -- Triggers an automatic connection attempt. """
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#!/usr/bin/python
|
||||
#!/usr/bin/env python
|
||||
|
||||
#
|
||||
# Copyright (C) 1999-2006 Keith Dart <keith@kdart.com>
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#!/usr/bin/python
|
||||
#!/usr/bin/env python
|
||||
|
||||
""" Suspends the wicd daemon.
|
||||
|
||||
|
||||
@@ -1806,7 +1806,7 @@ def main(argv):
|
||||
wicd_bus = dbus.service.BusName('org.wicd.daemon', bus=bus)
|
||||
daemon = WicdDaemon(wicd_bus, auto_connect=auto_connect)
|
||||
if not no_poll:
|
||||
child_pid = Popen([misc.find_path("python2"), "-O",
|
||||
child_pid = Popen([wpath.python, "-O",
|
||||
os.path.join(wpath.daemon, "monitor.py")],
|
||||
shell=False, close_fds=True).pid
|
||||
atexit.register(on_exit, child_pid)
|
||||
|
||||
Reference in New Issue
Block a user