diff options
Diffstat (limited to 'wrappers/python/eduvpn_common/main.py')
| -rw-r--r-- | wrappers/python/eduvpn_common/main.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/wrappers/python/eduvpn_common/main.py b/wrappers/python/eduvpn_common/main.py index d1b3f48..0daf0b6 100644 --- a/wrappers/python/eduvpn_common/main.py +++ b/wrappers/python/eduvpn_common/main.py @@ -278,15 +278,16 @@ class EduVPN(object): if profile_err: forwardError(profile_err) - def set_secure_location(self, country_code: str) -> None: + def set_secure_location(self, org_id: str, country_code: str) -> None: """Set the secure location + :param org_id: str: The organisation ID :param country_code: str: The country code of the new location :raises WrappedError: An error by the Go library """ # Set the location by country code - location_err = self.go_cookie_function(self.lib.SetSecureLocation, country_code) + location_err = self.go_function(self.lib.SetSecureLocation, org_id, country_code) # If there is a location event, set it so that the wait callback finishes # And so that the Go code can move to the next state |
