Update tools.py

This commit is contained in:
gutosie
2021-12-05 07:57:54 +02:00
committed by GitHub
parent 4fe929f0ff
commit aa561e47e2

View File

@@ -148,6 +148,7 @@ class MBTools(Screen):
def updateList(self):
self.list = []
mypath = '' + LinkNeoBoot + ''
os.system(("ifconfig eth0 |grep -i hwaddr |awk '{print $5}' > /usr/lib/periodon/.activatedmac"))
if not fileExists(mypath + 'icons'):
mypixmap = '' + LinkNeoBoot + '/images/ok.png'
png = LoadPixmap(mypixmap)