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