mirror of
https://github.com/gutosie/neoboot.git
synced 2025-11-05 05:35:39 +01:00
Update stbbranding.py
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user