summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--python.d/ovpn_status_log.chart.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python.d/ovpn_status_log.chart.py b/python.d/ovpn_status_log.chart.py
index 2480dce917..c5fca002af 100644
--- a/python.d/ovpn_status_log.chart.py
+++ b/python.d/ovpn_status_log.chart.py
@@ -65,7 +65,7 @@ class Service(SimpleService):
try:
data_inter = self.regex_data_inter.search(' '.join(raw_data.splitlines())).group()
except AttributeError:
- string = ''
+ data_inter = ''
data_final = ' '.join(self.regex_data_final.findall(data_inter))
users = self.regex_users.subn('', data_final)[1]