diff --git a/guides/common/modules/proc_calling-the-api-in-python.adoc b/guides/common/modules/proc_calling-the-api-in-python.adoc index 5f7b086afe..18d1417db1 100644 --- a/guides/common/modules/proc_calling-the-api-in-python.adoc +++ b/guides/common/modules/proc_calling-the-api-in-python.adoc @@ -211,7 +211,7 @@ def main(): host_pattern = 'example' print(f"Displaying basic info for hosts matching pattern '\{host_pattern}'...") - display_info_for_hosts(FOREMAN_API + 'hosts?per_page=1&search=name~' + host_pattern) + display_info_for_hosts(FOREMAN_API + 'hosts?per_page=1&search=name~' + host_pattern) print(f"Displaying basic info for subscriptions") display_info_for_subs(KATELLO_API + 'subscriptions')