summaryrefslogtreecommitdiff
path: root/wrappers/python/eduvpn_common
diff options
context:
space:
mode:
authorjwijenbergh <jeroenwijenbergh@protonmail.com>2023-03-20 18:39:08 +0100
committerJeroen Wijenbergh <46386452+jwijenbergh@users.noreply.github.com>2023-09-25 09:43:37 +0200
commit8efa7aa299b0488ae4439906482b75df0fb00cc7 (patch)
tree2b740391aafc582b6bd2e5401a9ae35e3dae9981 /wrappers/python/eduvpn_common
parent1f599f1aab37343ff61852a8616c640310dfaee4 (diff)
Exports + Python + Server: Remove ShouldRenewButton
This is replace with expiry times
Diffstat (limited to 'wrappers/python/eduvpn_common')
-rw-r--r--wrappers/python/eduvpn_common/loader.py1
-rw-r--r--wrappers/python/eduvpn_common/main.py8
2 files changed, 0 insertions, 9 deletions
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: