Skip to content

Commit

Permalink
Changed get_status to explicitly ask for status using format 1
Browse files Browse the repository at this point in the history
  • Loading branch information
Jamie- committed Apr 13, 2020
1 parent 15224d4 commit cc62e6e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion openvpn_api/vpn.py
Original file line number Diff line number Diff line change
Expand Up @@ -244,5 +244,5 @@ def get_status(self):
Uses openvpn-status library to parse status output:
https://pypi.org/project/openvpn-status/
"""
raw = self.send_command('status')
raw = self.send_command('status 1')
return openvpn_status.parse_status(raw)

0 comments on commit cc62e6e

Please sign in to comment.