mirror of
https://github.com/gutosie/neoboot.git
synced 2025-11-08 06:55:46 +01:00
Update plugin.py
This commit is contained in:
@@ -1254,8 +1254,10 @@ class NeoBootImageChoose(Screen):
|
|||||||
f.close()
|
f.close()
|
||||||
os.remove('/tmp/memoryinfo.tmp')
|
os.remove('/tmp/memoryinfo.tmp')
|
||||||
|
|
||||||
|
try:
|
||||||
perc = int(usperc[0:-1])
|
perc = int(usperc[0:-1])
|
||||||
# perc = int() # jak czasami robi error to odhaszowac i zahaszowac wyzej
|
except:
|
||||||
|
perc = int() # jak czasami robi error to odhaszowac i zahaszowac wyzej
|
||||||
self['progreso'].setValue(perc)
|
self['progreso'].setValue(perc)
|
||||||
green = '#00389416'
|
green = '#00389416'
|
||||||
red = '#00ff2525'
|
red = '#00ff2525'
|
||||||
|
|||||||
Reference in New Issue
Block a user