diff options
Diffstat (limited to 'wrappers/python/src/main.py')
| -rw-r--r-- | wrappers/python/src/main.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/wrappers/python/src/main.py b/wrappers/python/src/main.py index 87d2b53..784e622 100644 --- a/wrappers/python/src/main.py +++ b/wrappers/python/src/main.py @@ -187,6 +187,14 @@ class EduVPN(object): if profile_err: raise Exception(profile_err) + def change_secure_location(self) -> None: + # Set the location by country code + self.location_event = threading.Event() + location_err = self.go_function(lib.ChangeSecureLocation) + + if location_err: + raise Exception(location_err) + def set_secure_location(self, country_code: str) -> None: # Set the location by country code location_err = self.go_function(lib.SetSecureLocation, country_code) |
