Permalink
Browse files

Merge pull request #70 from taxigps/eden-pre

Eden pre
  • Loading branch information...
2 parents d31aa5e + 5bfb82c commit 3dd31a3dfe7bb3ffe5dc0d745dc5e0f23c1dbd50 @amet amet committed Mar 3, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 script.xbmc.subtitles/resources/lib/services/Shooter/service.py
@@ -230,7 +230,7 @@ def download_subtitles (subtitles_list, pos, zip_subs, tmp_sub_dir, sub_folder,
barename = subtitles_list[pos][ "filename" ].rsplit(".",1)[0]
language = subtitles_list[pos][ "language_name" ]
for file in subtitles_list[pos][ "filedata" ]:
- filename = os.path.join(tmp_sub_dir, ".".join([barename, file.ExtName]))
+ filename = os.path.join(tmp_sub_dir, ".".join([barename, file.ExtName]).decode("utf-8")).encode('utf-8')
fn = unicode(filename, 'utf-8')
open(fn,"wb").write(file.FileData)
if (file.ExtName in ["srt", "txt", "ssa", "smi", "sub"]):

0 comments on commit 3dd31a3

Please sign in to comment.