Update Harddisk.py

This commit is contained in:
gutosie
2023-01-13 21:03:46 +02:00
committed by GitHub
parent f1bce42d89
commit f8adceb632

View File

@@ -7,13 +7,13 @@ from Tools.Directories import fileExists, pathExists
from Tools.CList import CList from Tools.CList import CList
from Components.SystemInfo import SystemInfo from Components.SystemInfo import SystemInfo
from Components.Console import Console from Components.Console import Console
from Plugins.Extensions.NeoBoot.files import Task #from Plugins.Extensions.NeoBoot.files import Task
if fileExists('/usr/lib/python2.7'): if fileExists('/usr/lib/python2.7'):
import Task from Plugins.Extensions.NeoBoot.files import Task
else: else:
from Components import Task from Components import Task
try: try:
from Task import LoggingTask from Plugins.Extensions.NeoBoot.files.Task import LoggingTask
except: except:
from Components.Task import LoggingTask from Components.Task import LoggingTask
from Screens.Screen import Screen from Screens.Screen import Screen