diff options
-rwxr-xr-x | app.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -155,7 +155,7 @@ class Application(object): try: session = db.Session() r = db.Track.search(session, *l, **d) - results = [File(x.get_path(), metadata = x.get_metadata()).json() for x in r] + results = [File(x.get_path(), metadata = x.get_metadata(), track = x.file_index).json() for x in r] finally: session.close() |