mirror of
https://github.com/gryf/wmdocklib.git
synced 2026-10-07 22:22:29 +02:00
migliorie minime sul feedback
This commit is contained in:
1 parent
4b16346067
commit
89b2fdd9ee
1 file changed
+6
-5
@@ -133,10 +133,11 @@ class Application(wmoo.Application):
|
||||
if rpos != 0:
|
||||
if self._buffered.startswith('Cache fill:'):
|
||||
self._buffering = 2
|
||||
match = self._feedback.match(self._buffered[rpos-90:rpos])
|
||||
if match:
|
||||
self._buffering = 0
|
||||
self._cacheLevel = float(match.group(1))
|
||||
else:
|
||||
match = self._feedback.match(self._buffered[rpos-90:rpos])
|
||||
if match:
|
||||
self._buffering = 0
|
||||
self._cacheLevel = float(match.group(1))
|
||||
|
||||
self._buffered = self._buffered[rpos:]
|
||||
self.showCacheLevel()
|
||||
@@ -146,7 +147,7 @@ palette = {
|
||||
".": "#868682",
|
||||
"X": "#AEAEAA",
|
||||
"o": "#F7F7F3",
|
||||
"r": "#F70000",
|
||||
"r": "#F7A0A0",
|
||||
"i": "#00F700",
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user