Use self.data instead of locals
Signed-off-by: Pluggi <pluggi512@gmail.com>
This commit is contained in:
parent
aecde0e84e
commit
f70472db0f
@ -76,6 +76,6 @@ class Wireguard(IntervalModule):
|
||||
|
||||
self.data = locals()
|
||||
self.output = {
|
||||
"full_text": self.format.format(**locals()),
|
||||
"full_text": self.format.format(**self.data),
|
||||
'color': color,
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user