Fix again
diff --git a/xos/services/vpn/admin.py b/xos/services/vpn/admin.py
index f9e2b91..f6b31f9 100644
--- a/xos/services/vpn/admin.py
+++ b/xos/services/vpn/admin.py
@@ -207,9 +207,9 @@
else:
VPNService.execute_easyrsa_command(
self.instance.pki_dir, "--req-cn=XOS build-ca nopass")
- elif (self.instance.use_ca_from):
+ elif (self.instance.use_ca_from[0]):
shutil.copy2(
- self.instance.use_ca_from.pki_dir + "/ca.crt",
+ self.instance.use_ca_from[0].pki_dir + "/ca.crt",
self.instance.pki_dir)
result.ca_crt = self.generate_ca_crt()