mirror of
https://github.com/OpenVPN/openvpn.git
synced 2025-05-08 21:25:53 +08:00

Signed-off-by: Samuli Seppänen <samuli@openvpn.net> Acked-by: David Sommerseth <davids@redhat.com> Signed-off-by: David Sommerseth <davids@redhat.com> (cherry picked from commit 6b2883a637fe73492f09816ee95b00c1b88d5fcb)
10 lines
189 B
Python
10 lines
189 B
Python
from wb import get_config
|
|
from js import JSON
|
|
|
|
def main():
|
|
print JSON().encode(get_config())
|
|
|
|
# if we are run directly, and not loaded as a module
|
|
if __name__ == "__main__":
|
|
main()
|