From 8efa7aa299b0488ae4439906482b75df0fb00cc7 Mon Sep 17 00:00:00 2001 From: jwijenbergh Date: Mon, 20 Mar 2023 18:39:08 +0100 Subject: Exports + Python + Server: Remove ShouldRenewButton This is replace with expiry times --- wrappers/python/eduvpn_common/loader.py | 1 - wrappers/python/eduvpn_common/main.py | 8 -------- 2 files changed, 9 deletions(-) (limited to 'wrappers/python') diff --git a/wrappers/python/eduvpn_common/loader.py b/wrappers/python/eduvpn_common/loader.py index e57e81d..1cf7ab5 100644 --- a/wrappers/python/eduvpn_common/loader.py +++ b/wrappers/python/eduvpn_common/loader.py @@ -98,7 +98,6 @@ def initialize_functions(lib: CDLL) -> None: lib.SetSupportWireguard.argtypes, lib.SetSupportWireguard.restype = [ c_int, ], c_void_p - lib.ShouldRenewButton.argtypes, lib.ShouldRenewButton.restype = [], int lib.StartFailover.argtypes, lib.StartFailover.restype = [ c_char_p, c_int, diff --git a/wrappers/python/eduvpn_common/main.py b/wrappers/python/eduvpn_common/main.py index c654e41..947f8c1 100644 --- a/wrappers/python/eduvpn_common/main.py +++ b/wrappers/python/eduvpn_common/main.py @@ -264,14 +264,6 @@ class EduVPN(object): if support_err: forwardError(support_err) - def should_renew_button(self) -> bool: - """Whether or not the UI should show the renew button - - :return: Whether or not the return button should be shown - :rtype: bool - """ - return self.go_function(self.lib.ShouldRenewButton) - def start_failover( self, gateway: str, wg_mtu: int, readrxbytes: ReadRxBytes ) -> bool: -- cgit v1.2.3