Fixed processing of dynamic_colors settings, previously ignored.

This commit is contained in:
David Garcia Quintas 2015-03-22 14:30:29 -07:00
parent ab4bb9af20
commit f81841c722

View File

@ -313,6 +313,8 @@ class Network(IntervalModule, ColorRangeModule):
else:
self.network_traffic = None
if not self.dynamic_color:
self.end_color = self.start_color
self.colors = self.get_hex_color_range(self.start_color, self.end_color, int(self.upper_limit))
self.kbs_arr = [0.0] * self.graph_width