# coding: utf8
# try something like
def index():
    mapPools = db.executesql("SELECT Name, ID from Map_pool")
    return dict(mapPools=mapPools)
    
def show():
    mapIDs = db.executesql("SELECT Map_ID FROM Map_to_Map_Pool WHERE Pool_ID = " + str(request.args(0)))
    return dict(mapIDs = mapIDs, poolID = request.args(0))

839c30d56dcabf346f9dff07b185172a4b20b7b3
<mask token>

def index():
    mapPools = db.executesql('SELECT Name, ID from Map_pool')
    return dict(mapPools=mapPools)


<mask token>

def index():
    mapPools = db.executesql('SELECT Name, ID from Map_pool')
    return dict(mapPools=mapPools)


def show():
    mapIDs = db.executesql(
        'SELECT Map_ID FROM Map_to_Map_Pool WHERE Pool_ID = ' + str(request
        .args(0)))
    return dict(mapIDs=mapIDs, poolID=request.args(0))

# coding: utf8
# try something like
def index():
    mapPools = db.executesql("SELECT Name, ID from Map_pool")
    return dict(mapPools=mapPools)
    
def show():
    mapIDs = db.executesql("SELECT Map_ID FROM Map_to_Map_Pool WHERE Pool_ID = " + str(request.args(0)))
    return dict(mapIDs = mapIDs, poolID = request.args(0))
