Use self.data instead of locals

Signed-off-by: Pluggi <pluggi512@gmail.com>
This commit is contained in:
Pluggi 2020-08-18 11:43:32 +02:00 committed by enkore
parent aecde0e84e
commit f70472db0f

View File

@ -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,
}