Skip to content

Commit a72a426

Browse files
committed
update seasonvar addon
1 parent 567bc32 commit a72a426

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

addons/plugin.video.dandy.seasonvar.ru/addon.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
22
<addon id="plugin.video.dandy.seasonvar.ru" name="seasonvar.ru"
3-
version="2.0.5" provider-name="dandy">
3+
version="2.0.6" provider-name="dandy">
44
<requires>
55
<import addon="xbmc.python" version="3.0.0"/>
66
<import addon="script.module.xbmc.helpers" version="3.0.0"/>

addons/plugin.video.dandy.seasonvar.ru/default.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
import http.cookiejar
1616

1717
import xbmc
18+
import xbmcvfs
1819
import xbmcplugin
1920
import xbmcgui
2021
import xbmcaddon
@@ -93,8 +94,7 @@ def __init__(self):
9394
self.profile = self.addon.getAddonInfo('profile')
9495
self.media_path = os.path.join(self.path, "resources", "media")
9596
self.poster = os.path.join(self.media_path, "poster.jpg")
96-
self.data_path = os.path.join(xbmc.translatePath(self.profile), 'data')
97-
97+
self.data_path = os.path.join(xbmcvfs.translatePath(self.profile), 'data')
9898
if not (os.path.exists(self.data_path) and os.path.isdir(self.data_path)):
9999
os.makedirs(self.data_path)
100100

0 commit comments

Comments
 (0)