mirror of
https://github.com/gutosie/neoboot.git
synced 2025-11-05 13:45:40 +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:
|
with open('/usr/lib/enigma2/python/Plugins/Extensions/NeoBoot/.location', 'r') as f:
|
||||||
locatino = f.readline().strip()
|
locatino = f.readline().strip()
|
||||||
f.close()
|
f.close()
|
||||||
|
elif os.path.exists('/media/hdd/ImageBoot'):
|
||||||
|
locatino = '/media/hdd/'
|
||||||
|
elif os.path.exists('/media/usb/ImageBoot'):
|
||||||
|
locatino = '/media/usb/'
|
||||||
return locatino
|
return locatino
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user