From 0aab250b31cc98ee97a1b80a71cfad72d89df5ac Mon Sep 17 00:00:00 2001 From: gutosie Date: Tue, 22 Mar 2022 17:26:26 +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 c3166f1..00062a4 100644 --- a/NeoBoot/files/stbbranding.py +++ b/NeoBoot/files/stbbranding.py @@ -1094,13 +1094,13 @@ def getNandWrite(): return NandWrite def getMyUUID(): + #os.system("tune2fs -l /dev/sd?? | awk '/UUID/ {print $NF}' > /tmp/.myuuid") os.system("tune2fs -l %s | awk '/UUID/ {print $NF}' > /tmp/.myuuid" % (getLocationMultiboot())) try: if os.path.isfile('/tmp/.myuuid'): return open('/tmp/.myuuid').read().strip().upper() except: - os.system("tune2fs -l /dev/sd?? | awk '/UUID/ {print $NF}' > /tmp/.myuuid") - return open('/tmp/.myuuid').read().strip().upper() + pass return _('unavailable')