mirror of
https://source.perfectable.org/nivertius/napi.git
synced 2025-07-02 03:14:46 +02:00
cleaned whitespace
This commit is contained in:
parent
9ab87b958e
commit
d03f00ddb4
1 changed files with 6 additions and 8 deletions
2
napi
2
napi
|
@ -62,7 +62,6 @@ for movie_filename in args.movies:
|
|||
subtitle_author = subtitle_xml.find('author').text
|
||||
subtitle_date = subtitle_xml.find('upload_date').text
|
||||
|
||||
|
||||
content = subtitle_xml.find("content").text
|
||||
decoded_content = base64.b64decode(content)
|
||||
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,
|
||||
subtitle_uploader, subtitle_author, subtitle_date)
|
||||
os.remove(input_filename)
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue