From 2cb6249d0f561bd62d44ad7014bc640e7329f748 Mon Sep 17 00:00:00 2001 From: gutosie Date: Sat, 25 Dec 2021 13:10:55 +0200 Subject: [PATCH] Update stbbranding.py --- NeoBoot/files/stbbranding.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/NeoBoot/files/stbbranding.py b/NeoBoot/files/stbbranding.py index 4656106..557a602 100644 --- a/NeoBoot/files/stbbranding.py +++ b/NeoBoot/files/stbbranding.py @@ -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