Skip to content

Commit

Permalink
translate special path
Browse files Browse the repository at this point in the history
  • Loading branch information
amet authored and jrhames committed Feb 7, 2011
1 parent 043cdf1 commit 3c1646a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion script.xbmc.subtitles/resources/lib/gui.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ def set_allparam(self):
else:
self.file_name = "%s (%s)" % (self.title.encode('utf-8'), str(self.year),)

self.tmp_sub_dir = os.path.join( __profile__ ,"sub_tmp" )
self.tmp_sub_dir = xbmc.translatePath(os.path.join( __profile__ ,"sub_tmp" ))

if not self.tmp_sub_dir.endswith(':') and not os.path.exists(self.tmp_sub_dir):
os.makedirs(self.tmp_sub_dir)
Expand Down

0 comments on commit 3c1646a

Please sign in to comment.