diff options
| author | jwijenbergh <jeroenwijenbergh@protonmail.com> | 2022-10-17 10:55:27 +0200 |
|---|---|---|
| committer | jwijenbergh <jeroenwijenbergh@protonmail.com> | 2022-10-17 10:55:27 +0200 |
| commit | 392d192aac8fdf7dd73903cfcd593e1146ee851f (patch) | |
| tree | 87c75e33ae8cce5000839dd459d7f66a0ad364ad /wrappers/python | |
| parent | 4e834896a1c68cd536971dcfff7c3afbcff637ae (diff) | |
Python: Keep adding server if no profiles were initialized
Diffstat (limited to 'wrappers/python')
| -rw-r--r-- | wrappers/python/eduvpn_common/server.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/wrappers/python/eduvpn_common/server.py b/wrappers/python/eduvpn_common/server.py index eafb334..6df23a6 100644 --- a/wrappers/python/eduvpn_common/server.py +++ b/wrappers/python/eduvpn_common/server.py @@ -132,7 +132,7 @@ def get_server(ptr, _type=None) -> Optional[Server]: support_contact.append(current_server.support_contact[i].decode("utf-8")) profiles = get_profiles(current_server.profiles) if profiles is None: - return None + profiles = Profiles([], 0) if _type is SecureInternetServer: return SecureInternetServer( identifier, |
