Skip to content

Commit

Permalink
Update utils.py
Browse files Browse the repository at this point in the history
Upgrade to Nexus (Kodi 20)
  • Loading branch information
daanvandevliet authored Mar 10, 2023
1 parent 806be4c commit e33b624
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/utils.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# coding=utf-8
import os
import xbmcvfs
import re
from collections import OrderedDict

Expand All @@ -16,8 +17,8 @@
ADDON_ICON = ADDON.getAddonInfo("icon")
ADDON_PROFILE = ADDON.getAddonInfo("profile")
ADDON_VERSION = ADDON.getAddonInfo("version")
PATH_ADDONS = xbmc.translatePath("special://home/addons/")
PATH_TEMP = xbmc.translatePath("special://temp")
PATH_ADDONS = xbmcvfs.translatePath("special://home/addons/")
PATH_TEMP = xbmcvfs.translatePath("special://temp")
if not ADDON_PATH:
ADDON_PATH = '..'

Expand Down

0 comments on commit e33b624

Please sign in to comment.