From 69834e820449219397d76a6b94c2bc45ac0a1018 Mon Sep 17 00:00:00 2001 From: DiMartinoXBMC Date: Sun, 26 Jul 2015 23:00:20 +0300 Subject: [PATCH] write fix --- addon.xml | 2 +- functions.py | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/addon.xml b/addon.xml index ce5cafa..104ac8f 100644 --- a/addon.xml +++ b/addon.xml @@ -1,5 +1,5 @@  - + diff --git a/functions.py b/functions.py index 038a632..bbde704 100644 --- a/functions.py +++ b/functions.py @@ -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: