write fix
parent
390dbcd9f3
commit
69834e8204
|
@ -1,5 +1,5 @@
|
||||||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
||||||
<addon id="plugin.video.torrenter" name="Torrenter" version="2.3.5" provider-name="vadim.skorba, DiMartino">
|
<addon id="plugin.video.torrenter" name="Torrenter" version="2.3.6" provider-name="vadim.skorba, DiMartino">
|
||||||
<requires>
|
<requires>
|
||||||
<import addon="xbmc.python" version="2.1.0"/>
|
<import addon="xbmc.python" version="2.1.0"/>
|
||||||
<import addon="script.module.libtorrent"/>
|
<import addon="script.module.libtorrent"/>
|
||||||
|
|
|
@ -1877,6 +1877,8 @@ def vista_check():
|
||||||
return platform.release() == "Vista"
|
return platform.release() == "Vista"
|
||||||
|
|
||||||
def is_writable(path):
|
def is_writable(path):
|
||||||
|
if not os.path.exists(path):
|
||||||
|
xbmcvfs.mkdirs(path)
|
||||||
try:
|
try:
|
||||||
open(os.path.join(path, 'temp'), 'w')
|
open(os.path.join(path, 'temp'), 'w')
|
||||||
except:
|
except:
|
||||||
|
|
Loading…
Reference in New Issue