rimozione codice ora inutile
This commit is contained in:
@@ -3,7 +3,6 @@
|
||||
# XBMC entry point
|
||||
# ------------------------------------------------------------
|
||||
|
||||
|
||||
import os
|
||||
import sys
|
||||
|
||||
@@ -11,10 +10,6 @@ import xbmc
|
||||
from platformcode import config, logger
|
||||
|
||||
logger.info("init...")
|
||||
if os.path.isfile(os.path.join(config.get_data_path(), 'alfavorites-default.json')) == True and os.path.isfile(os.path.join(config.get_data_path(), 'kodfavorites-default.json')) == False:
|
||||
os.rename(os.path.join(config.get_data_path(), 'alfavorites-default.json'), os.path.join(config.get_data_path(), 'kodfavorites-default.json'))
|
||||
if os.path.isfile(os.path.join(config.get_data_path(), 'alfa_db.sqlite')) == True and os.path.isfile(os.path.join(config.get_data_path(), 'kod_db.sqlite')) == False:
|
||||
os.rename(os.path.join(config.get_data_path(), 'alfa_db.sqlite'), os.path.join(config.get_data_path(), 'kod_db.sqlite'))
|
||||
|
||||
librerias = xbmc.translatePath(os.path.join(config.get_runtime_path(), 'lib'))
|
||||
sys.path.insert(0, librerias)
|
||||
|
||||
@@ -6,7 +6,6 @@
|
||||
import os
|
||||
import sys
|
||||
|
||||
import updater
|
||||
from specials import resolverdns
|
||||
import urllib2
|
||||
|
||||
@@ -21,6 +20,7 @@ from platformcode import platformtools
|
||||
from platformcode.logger import WebErrorException
|
||||
|
||||
|
||||
|
||||
def start():
|
||||
""" Primera funcion que se ejecuta al entrar en el plugin.
|
||||
Dentro de esta funcion deberian ir todas las llamadas a las
|
||||
|
||||
Reference in New Issue
Block a user