diff --git a/trains_agent/commands/worker.py b/trains_agent/commands/worker.py index 2012414..d829f7f 100644 --- a/trains_agent/commands/worker.py +++ b/trains_agent/commands/worker.py @@ -1070,7 +1070,7 @@ class Worker(ServiceCommandSection): print("No freeze information available") print("Virtual environment: {}".format(venv_folder / 'bin')) - print("Source code: {}".format(repo_info.root)) + print("Source code: {}".format(repo_info.root if repo_info else execution.entry_point)) print("Entry point: {}".format(Path(script_dir) / execution.entry_point)) return 0