From 2a78e9f96683405ec85d3089e36b53653c8b2f26 Mon Sep 17 00:00:00 2001 From: Ruud Date: Wed, 25 Jan 2012 18:08:54 +0100 Subject: [PATCH] Cleanup --- couchpotato/core/plugins/movie/main.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/couchpotato/core/plugins/movie/main.py b/couchpotato/core/plugins/movie/main.py index d54d0cef..ccf3d661 100644 --- a/couchpotato/core/plugins/movie/main.py +++ b/couchpotato/core/plugins/movie/main.py @@ -8,7 +8,7 @@ from couchpotato.core.plugins.base import Plugin from couchpotato.core.settings.model import Movie, Library, LibraryTitle from couchpotato.environment import Env from sqlalchemy.orm import joinedload_all -from sqlalchemy.sql.expression import or_, asc, not_ +from sqlalchemy.sql.expression import func, or_, asc, not_ from string import ascii_lowercase from urllib import urlencode @@ -94,7 +94,6 @@ class MoviePlugin(Plugin): offset = 0 if len(splt) is 1 else splt[1] q = q.limit(limit).offset(offset) - results = q.all() movies = []