Update stbbranding.py

This commit is contained in:
gutosie
2021-12-25 13:10:55 +02:00
committed by GitHub
parent b9574f398d
commit 2cb6249d0f

View File

@@ -153,6 +153,10 @@ def getNeoLocation():
with open('/usr/lib/enigma2/python/Plugins/Extensions/NeoBoot/.location', 'r') as f:
locatino = f.readline().strip()
f.close()
elif os.path.exists('/media/hdd/ImageBoot'):
locatino = '/media/hdd/'
elif os.path.exists('/media/usb/ImageBoot'):
locatino = '/media/usb/'
return locatino