summaryrefslogtreecommitdiff
path: root/src/leap/bitmask/vpn/management.py
diff options
context:
space:
mode:
authorKali Kaneko <kali@leap.se>2017-08-28 23:42:53 -0400
committerKali Kaneko <kali@leap.se>2017-08-30 16:18:56 -0400
commitec3c4a21b24afac389a10bdbbb9ac36acd2a6ffb (patch)
tree8e9ef63ae61244641421d858fe08f0410bfd6ada /src/leap/bitmask/vpn/management.py
parent081ef137ab4d1325a46a24752b11a60b953c1bb4 (diff)
[bug] assign initial empty state
Diffstat (limited to 'src/leap/bitmask/vpn/management.py')
-rw-r--r--src/leap/bitmask/vpn/management.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/leap/bitmask/vpn/management.py b/src/leap/bitmask/vpn/management.py
index 6a6b1fc..4f0e97b 100644
--- a/src/leap/bitmask/vpn/management.py
+++ b/src/leap/bitmask/vpn/management.py
@@ -148,6 +148,7 @@ class ManagementProtocol(LineReceiver):
def _handle_STATE(self, data):
data = data.strip().split(',')
remote = rport = None
+ state = ''
try:
if len(data) == 9:
(ts, state, verbose, localtun,