mirror of
https://github.com/clearml/clearml
synced 2025-03-03 18:52:12 +00:00
Don't print empty line at end of process if there's no artifacts summary
This commit is contained in:
parent
baf5fc9e54
commit
cf850020fb
@ -1332,8 +1332,9 @@ class Task(_Task):
|
||||
def _summary_artifacts(self):
|
||||
# signal artifacts upload, and stop daemon
|
||||
self._artifacts_manager.stop(wait=True)
|
||||
# print artifacts summary
|
||||
self.get_logger().report_text(self._artifacts_manager.summary)
|
||||
# print artifacts summary (if not empty)
|
||||
if self._artifacts_manager.summary:
|
||||
self.get_logger().report_text(self._artifacts_manager.summary)
|
||||
|
||||
def _at_exit(self):
|
||||
"""
|
||||
|
Loading…
Reference in New Issue
Block a user