mirror of
https://github.com/gutosie/neoboot.git
synced 2025-11-02 12:25:46 +01:00
Update unpack.py
This commit is contained in:
@@ -30,12 +30,9 @@ from os import system, listdir, mkdir, chdir, getcwd, rename as os_rename, remov
|
||||
from os.path import dirname, isdir, isdir as os_isdir
|
||||
import os
|
||||
import time
|
||||
if fileExists('/etc/vtiversion.info') or fileExists('/etc/bhversion') or fileExists('/usr/lib/python3.8') or fileExists('/usr/lib/python3.9') :
|
||||
from Screens.Console import Console
|
||||
else:
|
||||
try:
|
||||
if not fileExists('/etc/vtiversion.info') and not fileExists('/etc/bhversion') and fileExists('/usr/lib/python2.7'):
|
||||
from Plugins.Extensions.NeoBoot.files.neoconsole import Console
|
||||
except:
|
||||
else:
|
||||
from Screens.Console import Console
|
||||
LinkNeoBoot = '/usr/lib/enigma2/python/Plugins/Extensions/NeoBoot'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user