summaryrefslogtreecommitdiff
path: root/imdb-lookup/imdbrating.py
diff options
context:
space:
mode:
Diffstat (limited to 'imdb-lookup/imdbrating.py')
-rwxr-xr-ximdb-lookup/imdbrating.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/imdb-lookup/imdbrating.py b/imdb-lookup/imdbrating.py
index ff0550b..da40ed5 100755
--- a/imdb-lookup/imdbrating.py
+++ b/imdb-lookup/imdbrating.py
@@ -49,7 +49,7 @@ def print_ratings(files, db):
if imdb_id.startswith('tt'):
if imdb_id not in db.keys() or db[imdb_id] == 0:
db[imdb_id] = str(get_rating(imdb_id))
- print u"{rating} {filename}".format(rating=db[imdb_id], filename=filename.decode('utf-8'))
+ print "{rating} {filename}".format(rating=db[imdb_id], filename=filename)
if __name__ == u"__main__":
tmdb.API_KEY = read_key()