From e8d2d774b0e2849e700d53335319326331e06f1a Mon Sep 17 00:00:00 2001 From: gutosie Date: Wed, 2 Feb 2022 13:06:29 +0200 Subject: [PATCH] Update stbbranding.py --- NeoBoot/files/stbbranding.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/NeoBoot/files/stbbranding.py b/NeoBoot/files/stbbranding.py index 1894946..3ea3de9 100644 --- a/NeoBoot/files/stbbranding.py +++ b/NeoBoot/files/stbbranding.py @@ -153,11 +153,11 @@ 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'): + if os.path.exists('/media/hdd/ImageBoot'): locatinoneo = '/media/hdd/' - elif os.path.exists('/media/usb/ImageBoot'): + elif os.path.exists('/media/usb/ImageBoot'): locatinoneo = '/media/usb/' - else: + else: locatinoneo = locatino return locatinoneo