fix bug
This commit is contained in:
parent
c1e9f7ab59
commit
6dc0d9656f
@ -281,7 +281,7 @@ class Openvpn:
|
||||
logging.debug(f"interface {self.interface} is not ready.")
|
||||
return
|
||||
|
||||
self.monitor_interval = True
|
||||
self.interface_up = True
|
||||
io_count = io_count[self.interface]
|
||||
open(self.io_stat_fp, "a").write(
|
||||
f"{datetime.utcnow().timestamp()},{io_count.bytes_recv},{io_count.bytes_sent}\n")
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user