Fixed net_upload variable not working

pull/81/head
aristocratos 2020-08-15 20:57:14 +02:00
parent 21b1dc1e81
commit bb0e762e78
1 changed files with 1 additions and 1 deletions

View File

@ -2879,7 +2879,7 @@ class NetCollector(Collector):
speed = stat["speed"][-1]
if cls.net_min[direction] == -1:
cls.net_min[direction] = units_to_bytes(CONFIG.net_download)
cls.net_min[direction] = units_to_bytes(getattr(CONFIG, "net_" + direction))
stat["graph_top"] = cls.net_min[direction]
stat["graph_lower"] = 7
if not cls.auto_min: