diff --git a/lib/galaxy/util/user_agent.py b/lib/galaxy/util/user_agent.py index ffabffbcbcaa..786bf299078e 100644 --- a/lib/galaxy/util/user_agent.py +++ b/lib/galaxy/util/user_agent.py @@ -2,6 +2,7 @@ import requests +from galaxy.version import VERSION def __append_word_to_user_agent(word): @@ -31,4 +32,4 @@ def new_build_opener(*handlers): urllib.request.build_opener = new_build_opener -__append_word_to_user_agent("galaxy") +__append_word_to_user_agent(f"galaxy/{VERSION}")