From eaaa4e8efe3e72387c03d2210a8a86146e13bd1f Mon Sep 17 00:00:00 2001 From: gutosie Date: Sat, 11 Dec 2021 13:21:00 +0200 Subject: [PATCH] Update plugin.py --- NeoBoot/plugin.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/NeoBoot/plugin.py b/NeoBoot/plugin.py index c2ebdf0..55b2321 100644 --- a/NeoBoot/plugin.py +++ b/NeoBoot/plugin.py @@ -203,7 +203,7 @@ class NeoBootInstallation(Screen): writefile.close() def SetDiskLabel(self): - if fileExists('/usr/lib/python3.8') or fileExists('/usr/lib/python3.9') or fileExists(' /tmp/.upneo') : + if fileExists('/usr/lib/python3.8') or fileExists('/usr/lib/python3.9') or fileExists('/tmp/.upneo') : self.session.open(MessageBox, _('Skip this step and install NeoBoot.'), type=MessageBox.TYPE_ERROR) elif getCheckExt() != 'vfat' and getCheckExt() == 'ext3' or getCheckExt() == 'ext4' : @@ -358,7 +358,7 @@ class NeoBootInstallation(Screen): def devices(self): check = False - if fileExists('/usr/lib/python3.8') or fileExists('/usr/lib/python3.9') or fileExists(' /tmp/.upneo') : + if fileExists('/usr/lib/python3.8') or fileExists('/usr/lib/python3.9') or fileExists('/tmp/.upneo') : self.session.open(MessageBox, _('Skip this step and install NeoBoot.'), type=MessageBox.TYPE_ERROR) elif check == False: message = _('After selecting OK start Mounting Manager, option Mount - green\n')