cleaned whitespace

This commit is contained in:
Paweł Płazieński 2016-03-07 13:49:52 +01:00
parent 9ab87b958e
commit d03f00ddb4

2
napi
View file

@ -62,7 +62,6 @@ for movie_filename in args.movies:
subtitle_author = subtitle_xml.find('author').text subtitle_author = subtitle_xml.find('author').text
subtitle_date = subtitle_xml.find('upload_date').text subtitle_date = subtitle_xml.find('upload_date').text
content = subtitle_xml.find("content").text content = subtitle_xml.find("content").text
decoded_content = base64.b64decode(content) decoded_content = base64.b64decode(content)
with open(input_filename, "w") as input_file: with open(input_filename, "w") as input_file:
@ -91,4 +90,3 @@ for movie_filename in args.movies:
print "%s: downloaded subtitles: uploader '%s', author '%s', date '%s'" % (movie_filename, print "%s: downloaded subtitles: uploader '%s', author '%s', date '%s'" % (movie_filename,
subtitle_uploader, subtitle_author, subtitle_date) subtitle_uploader, subtitle_author, subtitle_date)
os.remove(input_filename) os.remove(input_filename)