Skip to content

Commit

Permalink
also works if no config is defined
Browse files Browse the repository at this point in the history
  • Loading branch information
paulzierep committed Mar 12, 2024
1 parent cb89923 commit df7c5ba
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion bin/extract_galaxy_tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,9 @@ def get_tool_github_repositories(
repo_l = get_string_content(repo_f).rstrip()
repo_list.extend(repo_l.split("\n"))

if add_extra_repositories: # add non planemo monitor repositories defined in conf
if (
add_extra_repositories and "extra-repositories" in configs
): # add non planemo monitor repositories defined in conf
repo_list = repo_list + configs["extra-repositories"]

print("Parsing repositories from:")
Expand Down

0 comments on commit df7c5ba

Please sign in to comment.