From 25f73028c577e8a5f1ae91786efec95480f97ce6 Mon Sep 17 00:00:00 2001 From: gutosie Date: Tue, 7 Jun 2022 12:11:32 +0300 Subject: [PATCH] Update tools.py --- NeoBoot/files/tools.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/NeoBoot/files/tools.py b/NeoBoot/files/tools.py index 04bf273..7ccd87f 100644 --- a/NeoBoot/files/tools.py +++ b/NeoBoot/files/tools.py @@ -155,7 +155,7 @@ class MBTools(Screen): def updateList(self): self.list = [] mypath = '' + LinkNeoBoot + '' - if not fileExists('/tmp/.testneo'): + if not fileExists('/tmp/.testneo') and getCheckActivateVip() == getBoxMacAddres() and fileExists('/usr/lib/periodon/.kodn'): os.system(("chattr -i /usr/lib/periodon/.activatedmac; mv /tmp/.mymac /usr/lib/periodon/.activatedmac; chattr +i /usr/lib/periodon/.activatedmac; touch /tmp/.testneo ")) if not fileExists(mypath + 'icons'): mypixmap = '' + LinkNeoBoot + '/images/ok.png'