mirror of
https://github.com/clearml/clearml-agent
synced 2025-01-31 09:06:52 +00:00
Fix print if no repo (standalone script)
This commit is contained in:
parent
566427d550
commit
3651c85fcd
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user