Add files via upload

This commit is contained in:
gutosie
2021-03-01 10:53:04 +02:00
committed by GitHub
parent 6032c92df8
commit 803f162e0b

View File

@@ -37,11 +37,14 @@ from stbbranding import fileCheck, getNeoLocation, getImageNeoBoot, getKernelVer
import os import os
import time import time
import sys import sys
import struct, shutil import struct, shutil
if fileExists('/etc/vtiversion.info') or fileExists('/usr/lib/python3.8') and fileExists('/.multinfo'): if fileExists('/etc/vtiversion.info') or fileExists('/etc/bhversion') or fileExists('/usr/lib/python3.8') and fileExists('/.multinfo'):
from Screens.Console import Console from Screens.Console import Console
else: else:
from Plugins.Extensions.NeoBoot.files.neoconsole import Console try:
from Plugins.Extensions.NeoBoot.files.neoconsole import Console
except:
from Screens.Console import Console
LinkNeoBoot = '/usr/lib/enigma2/python/Plugins/Extensions/NeoBoot' LinkNeoBoot = '/usr/lib/enigma2/python/Plugins/Extensions/NeoBoot'
neoboot = getNeoLocation() neoboot = getNeoLocation()
media = getNeoLocation() media = getNeoLocation()