This commit is contained in:
Alfa
2017-07-28 17:14:31 -04:00
commit 60e4685ce8
1039 changed files with 162852 additions and 0 deletions

12
kodi/platformcode/__init__.py Executable file
View File

@@ -0,0 +1,12 @@
# -*- coding: utf-8 -*-
import os
import sys
# Appends the main plugin dir to the PYTHONPATH if an internal package cannot be imported.
# Examples: In Plex Media Server all modules are under "Code.*" package, and in Enigma2 under "Plugins.Extensions.*"
try:
# from core import logger
import core
except:
sys.path.append(os.path.abspath(os.path.join(os.path.dirname(__file__), "..", "..")))