Did I find the right examples for you? yes no

All Samples(0)  |  Call(0)  |  Derive(0)  |  Import(0)

src/b/o/BoottleXCP-HEAD/helpers.py   BoottleXCP(Download)
def check_config():
    ok = config.GUI_HOST!=''
    ok = ok and config.GUI_PORT!=''
    ok = ok and config.GUI_USER!=''
    ok = ok and config.GUI_PASSWORD!=''
def check_auth(user, passwd):
    if user==config.GUI_USER and passwd==config.GUI_PASSWORD:
        return True
    return False
 

src/b/o/BoottleXCP-HEAD/boottlexcp.py   BoottleXCP(Download)
            "gui-host": config.GUI_HOST,
            "gui-port": config.GUI_PORT,
            "gui-user": config.GUI_USER,
            "gui-password": config.GUI_PASSWORD,