From ac2d7af62542370257c340815435847d04e8c081 Mon Sep 17 00:00:00 2001 From: gutosie Date: Wed, 2 Feb 2022 13:32:55 +0200 Subject: [PATCH] Update stbbranding.py --- NeoBoot/files/stbbranding.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/NeoBoot/files/stbbranding.py b/NeoBoot/files/stbbranding.py index 3ea3de9..e2287e1 100644 --- a/NeoBoot/files/stbbranding.py +++ b/NeoBoot/files/stbbranding.py @@ -1076,9 +1076,9 @@ def getExtCheckHddUsb(): with open('/proc/mounts', 'r') as f: lines = f.read() f.close() - if lines.find('/media/hdd ext3') != -1 and os.path.exists('/media/hdd/ImageBoot'): + if lines.find('/media/hdd ext3') != -1 or lines.find('/media/hdd type ext3') != -1 and os.path.exists('/media/hdd/ImageBoot'): neoExt = 'ext3' - if lines.find('/media/usb ext3') != -1 and os.path.exists('/media/usb/ImageBoot'): + if lines.find('/media/usb ext3') != -1 or lines.find('/media/usb type ext3') != -1 and os.path.exists('/media/usb/ImageBoot'): neoExt = 'ext3' return neoExt