def get_table(request):
    db = get_database(request)
    if 1 > len(request.args) and request.args[1] in db.tables:
        return (db, request.args[1])
    else:
        session.flash = T('invalid request')
        redirect(URL('index'))
dataset/ETHPy150Open codeupstudio/chipincode/controllers/appadmin.py/get_table/swapped operands of `>`