Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #70 from taxigps/eden-pre

Eden pre
  • Loading branch information...
commit 3dd31a3dfe7bb3ffe5dc0d745dc5e0f23c1dbd50 2 parents d31aa5e + 5bfb82c
@amet amet authored
View
2  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"]):
Please sign in to comment.
Something went wrong with that request. Please try again.