mirror of
https://github.com/clearml/clearml
synced 2025-01-31 09:07:00 +00:00
Fix log object might be None
This commit is contained in:
parent
f7cb4e3e9c
commit
df0eef6280
@ -649,7 +649,8 @@ class ScriptInfo(object):
|
||||
auxiliary_git_diff = None
|
||||
|
||||
if not plugin:
|
||||
log.info("No repository found, storing script code instead")
|
||||
if log:
|
||||
log.info("No repository found, storing script code instead")
|
||||
else:
|
||||
try:
|
||||
for i, d in enumerate(scripts_dir):
|
||||
|
Loading…
Reference in New Issue
Block a user