Luis escribió:
[...]        try:
            filtered = [{"aid" : album["aid"], "name" : album["name"]}
for album in albums if album["aid"] == id][0]
Entiendo poco de python, pero no esta mal un corchete ahi? El primer corchete se cierra luego del ultimo id y antes de los corchetes del ultimo indice...

--
Sebastian A. Dominguez
Imagen de Seba
http://odiolasllaves.com.ar
_______________________________________________
Lugro mailing list
[email protected]
http://www.lugro.org.ar/mailman/listinfo/lugro

Responder a