mirror of
https://github.com/itsdave-de/msp.git
synced 2025-05-06 15:35:12 +02:00
fix
This commit is contained in:
parent
4c51356c3f
commit
330d7fc592
@ -3,7 +3,7 @@ from datetime import datetime
|
|||||||
|
|
||||||
@frappe.whitelist()
|
@frappe.whitelist()
|
||||||
def get_ssh_keys_for_landscape(landscape):
|
def get_ssh_keys_for_landscape(landscape):
|
||||||
keys = frappe.get_all("SSH Public Key", filters={"it_landscape": landscape, "active": 1})
|
keys = frappe.get_all("SSH Public Key", filters={"it_landscape": landscape, "status": "active"})
|
||||||
print(keys)
|
print(keys)
|
||||||
if len(keys) >= 1:
|
if len(keys) >= 1:
|
||||||
keys_str = ""
|
keys_str = ""
|
||||||
|
Loading…
x
Reference in New Issue
Block a user