diff options
author | Thomas Keck <thomas@thinkpad> | 2014-11-15 23:35:19 +0100 |
---|---|---|
committer | Thomas Keck <thomas@thinkpad> | 2014-11-15 23:35:19 +0100 |
commit | bf70947ea846f3bdf690be80ba9722c0e7886087 (patch) | |
tree | 1a06b2be572ab4874e95ce27203ac8666079ecd8 /imdb-lookup | |
parent | 578e4c5a98c7178431e2ff641203c81882a4a444 (diff) | |
download | scripts-bf70947ea846f3bdf690be80ba9722c0e7886087.tar.gz scripts-bf70947ea846f3bdf690be80ba9722c0e7886087.zip |
Removed utf8 stuff
Diffstat (limited to 'imdb-lookup')
-rwxr-xr-x | imdb-lookup/imdbrating.py | 2 |
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() |