utf fix
parent
10f6e8d0a8
commit
6567d634fb
|
@ -129,7 +129,7 @@ class Libtorrent:
|
||||||
baseName = file_encode(os.path.basename(self.getFilePath()))
|
baseName = file_encode(os.path.basename(self.getFilePath()))
|
||||||
if not xbmcvfs.exists(self.torrentFilesPath):
|
if not xbmcvfs.exists(self.torrentFilesPath):
|
||||||
xbmcvfs.mkdirs(self.torrentFilesPath)
|
xbmcvfs.mkdirs(self.torrentFilesPath)
|
||||||
newFile = self.torrentFilesPath+self.md5(baseName)+'.'+self.md5(torrentUrl)+'.torrent'#+ '.'+ baseName
|
newFile = self.torrentFilesPath+self.md5(baseName)+'.'+self.md5(torrentUrl)+'.torrent'# + '.'+ baseName
|
||||||
if not xbmcvfs.exists(newFile):
|
if not xbmcvfs.exists(newFile):
|
||||||
xbmcvfs.delete(newFile)
|
xbmcvfs.delete(newFile)
|
||||||
if not xbmcvfs.exists(newFile):
|
if not xbmcvfs.exists(newFile):
|
||||||
|
|
Loading…
Reference in New Issue