summaryrefslogtreecommitdiff
path: root/wrappers
diff options
context:
space:
mode:
Diffstat (limited to 'wrappers')
-rw-r--r--wrappers/python/eduvpn_common/server.py2
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,