def get_status(interface):
        interface = Wireless(interface)
        try:
            stats = Iwstats(interface)
        except __HOLE__:
            return (None, None)
        quality = stats.qual.quality
        essid = interface.getEssid()
        return (essid, quality)
dataset/ETHPy150Open qtile/qtile/libqtile/widget/wlan.py/get_status