I have a problem with pycallblocker. I'm using "call waiting" feature, When I make a phone call and during that call blocked number is calling it's ending my current call and allowing blocked number to call me. I'm in UK in o2. Please help
def check_callstatus(): try: callfile = open('/var/run/mce/call', 'rb') cstat = callfile.readlines() callfile.close() if cstat[0] == 'yes': return 2 except Exception: print "Hmm...wtf" return 1