Fixed utf-8 problem

master
Enrico Carlesso 2013-02-13 15:08:09 +01:00
parent e5ae47d168
commit d79dccace4
1 changed files with 2 additions and 2 deletions

View File

@ -240,7 +240,7 @@ class Mega(object):
attribs = decrypt_attr(attribs, k) attribs = decrypt_attr(attribs, k)
file_name = attribs['n'] file_name = attribs['n']
print "downloading {0} (size: {1}), url = {2}".format(attribs['n'], print "downloading {0} (size: {1}), url = {2}".format(attribs['n'].encode("utf8"),
file_size, file_size,
file_url) file_url)