fix atv 7 crash

This commit is contained in:
gutosie
2021-06-19 21:50:03 +03:00
committed by GitHub
parent cebdc210ff
commit bd020d30b0
2 changed files with 9 additions and 3 deletions

View File

@@ -30,7 +30,7 @@ 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') and fileExists('/.multinfo'):
if fileExists('/etc/vtiversion.info') or fileExists('/etc/bhversion') or fileExists('/usr/lib/python3.8') or fileExists('/usr/lib/python3.8') or fileExists('/usr/lib/python3.9') and fileExists('/.multinfo'):
from Screens.Console import Console
else:
try: