1
0
mirror of https://github.com/spl0k/supysonic.git synced 2024-12-23 01:16:18 +00:00

Damn copy-pasta

This commit is contained in:
spl0k 2013-06-12 21:54:46 +02:00
parent 197e43a142
commit 7398f3511a

View File

@ -84,7 +84,7 @@ def album_list():
}) })
@app.route('/rest/getAlbumList2.view', methods = [ 'GET', 'POST' ]) @app.route('/rest/getAlbumList2.view', methods = [ 'GET', 'POST' ])
def album_list(): def album_list_id3():
ltype, size, offset = map(request.args.get, [ 'type', 'size', 'offset' ]) ltype, size, offset = map(request.args.get, [ 'type', 'size', 'offset' ])
try: try:
size = int(size) if size else 10 size = int(size) if size else 10