Remove extra newline in lang.sh. Change parsing queue to writing queue
This commit is contained in:
@@ -30,7 +30,7 @@ class LemonModule(threading.Thread):
|
||||
break
|
||||
|
||||
parsed = self.parse(line)
|
||||
common.parsing_queue.put([parsed]) # TODO Wrapped in list, temporary solution
|
||||
common.write_queue.put(parsed)
|
||||
|
||||
def stop(self):
|
||||
self._stop_module()
|
||||
@@ -48,7 +48,7 @@ def format_load(data, module, alert):
|
||||
# Changes colors scheme to inactive when interfaces are down, or to alert when
|
||||
# alert level is reached
|
||||
# Returns tuple (down, up)
|
||||
if data[0] == 'down': # wlan
|
||||
if data[0] == 'down':
|
||||
module.alt_scheme = parser.COLOR_SCHEME.INA
|
||||
return ('x', 'x')
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user