From bf70947ea846f3bdf690be80ba9722c0e7886087 Mon Sep 17 00:00:00 2001 From: Thomas Keck Date: Sat, 15 Nov 2014 23:35:19 +0100 Subject: Removed utf8 stuff --- imdb-lookup/imdbrating.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'imdb-lookup/imdbrating.py') 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() -- cgit v1.2.1