5 bus = dbus.SessionBus()
7 object_path = "/org/javiplx/wifiscan"
8 object_name = "org.javiplx.wifiscan"
10 proxy = bus.get_object( object_name , object_path )
14 if proxy.start() == "Interface initialized" :
19 for fingerprint in scan.split(" ") :
20 items = fingerprint.split(":")
21 rssi = int( items.pop() )
23 fps["".join(items)] = rssi
26 print "Interface initialization failed"