mirror of
https://github.com/bellingcat/octosuite.git
synced 2026-06-12 21:38:34 +03:00
Update octosuite.py
Added f-string to the Organisation profile Tree.
This commit is contained in:
@@ -545,7 +545,7 @@ class Octosuite:
|
||||
if response.status_code == 404:
|
||||
xprint(f"{NEGATIVE} {org_not_found.format(organization)}")
|
||||
elif response.status_code == 200:
|
||||
org_profile_tree = Tree("\n{response.json()['name']}")
|
||||
org_profile_tree = Tree(f"\n{response.json()['name']}")
|
||||
for attr in self.org_attrs:
|
||||
org_profile_tree.add(f"{self.org_attr_dict[attr]}: {response.json()[attr]}")
|
||||
xprint(org_profile_tree)
|
||||
|
||||
Reference in New Issue
Block a user