@@ -527,7 +527,7 @@ def org_profile(self):
527
527
if response .status_code == 404 :
528
528
xprint (f"{ NEGATIVE } { org_not_found .format (organization )} " )
529
529
elif response .status_code == 200 :
530
- org_profile_tree = Tree ("\n " + response .json ()['name' ])
530
+ org_profile_tree = Tree ("\n { response.json()['name']}" )
531
531
for attr in self .org_attrs :
532
532
org_profile_tree .add (f"{ self .org_attr_dict [attr ]} : { response .json ()[attr ]} " )
533
533
xprint (org_profile_tree )
@@ -547,7 +547,7 @@ def user_profile(self):
547
547
if response .status_code == 404 :
548
548
xprint (f"{ NEGATIVE } { user_not_found .format (username )} " )
549
549
elif response .status_code == 200 :
550
- user_profile_tree = Tree ("\n " + response .json ()['name' ])
550
+ user_profile_tree = Tree (f "\n { response .json ()['name' ]} " )
551
551
for attr in self .profile_attrs :
552
552
user_profile_tree .add (f"{ self .profile_attr_dict [attr ]} : { response .json ()[attr ]} " )
553
553
xprint (user_profile_tree )
@@ -570,7 +570,7 @@ def repo_profile(self):
570
570
if response .status_code == 404 :
571
571
xprint (f"{ NEGATIVE } { repo_or_user_not_found .format (repo_name , username )} " )
572
572
elif response .status_code == 200 :
573
- repo_profile_tree = Tree ("\n " + response .json ()['full_name' ])
573
+ repo_profile_tree = Tree (f "\n { response .json ()['full_name' ]} " )
574
574
for attr in self .repo_attrs :
575
575
repo_profile_tree .add (f"{ self .repo_attr_dict [attr ]} : { response .json ()[attr ]} " )
576
576
xprint (repo_profile_tree )
0 commit comments