summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-ximdb-lookup/imdbinfo.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/imdb-lookup/imdbinfo.py b/imdb-lookup/imdbinfo.py
index 7419103..5e92994 100755
--- a/imdb-lookup/imdbinfo.py
+++ b/imdb-lookup/imdbinfo.py
@@ -307,7 +307,7 @@ def do_index(args, imdb_ids):
return out
def data(callbackName):
- db = TMDBCache() #Protector(tmdbcache)
+ db = Protector(TMDBCache())
def poster(imdb_id):
data = db.poster_low(imdb_id)
if data:
@@ -369,7 +369,6 @@ def do_index(args, imdb_ids):
template_file = os.path.join(os.path.dirname(__file__),
"index.jinja2.html")
template = Template(open(template_file, "r").read())
- tmdbcache = TMDBCache()
mapping = {
'title': 'Movie overview',
'install': install,