write fix
This commit is contained in:
		
							parent
							
								
									390dbcd9f3
								
							
						
					
					
						commit
						69834e8204
					
				@ -1,5 +1,5 @@
 | 
			
		||||
<?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>
 | 
			
		||||
        <import addon="xbmc.python" version="2.1.0"/>
 | 
			
		||||
        <import addon="script.module.libtorrent"/>
 | 
			
		||||
 | 
			
		||||
@ -1877,6 +1877,8 @@ def vista_check():
 | 
			
		||||
    return platform.release() == "Vista"
 | 
			
		||||
 | 
			
		||||
def is_writable(path):
 | 
			
		||||
    if not os.path.exists(path):
 | 
			
		||||
        xbmcvfs.mkdirs(path)
 | 
			
		||||
    try:
 | 
			
		||||
        open(os.path.join(path, 'temp'), 'w')
 | 
			
		||||
    except:
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user