Fixed an issue where shared servers import is failing. Fixes #6022

This commit is contained in:
Nikhil Mohite
2020-12-03 10:40:52 +05:30
committed by Akshay Joshi
parent 794bd50ed1
commit 1c5cb63aff
2 changed files with 4 additions and 0 deletions

View File

@@ -346,6 +346,9 @@ def load_servers(args):
new_server.tunnel_authentication = \
obj.get("TunnelAuthentication", None)
new_server.shared = \
obj.get("Shared", None)
db.session.add(new_server)
try: