File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -98,7 +98,10 @@ def sender():
98
98
run_init = get_json (f"{ current } /run.json" )
99
99
start_time = os .path .getctime (f"{ current } /run.json" )
100
100
101
- logger .info ('Considering run with name %s and id %s' , run_init ['name' ], id )
101
+ if run_init ['name' ]:
102
+ logger .info ('Considering run with name %s and id %s' , run_init ['name' ], id )
103
+ else :
104
+ logger .info ('Considering run with no name yet and id %s' , id )
102
105
103
106
remote = Remote (run_init ['name' ], id , suppress_errors = True )
104
107
@@ -111,7 +114,7 @@ def sender():
111
114
if not os .path .isfile (created_file ):
112
115
name = remote .create_run (run_init )
113
116
if name :
114
- logger .info ('Creating run with name %s' , run_init [ ' name' ] )
117
+ logger .info ('Creating run with name %s' , name )
115
118
run_init = add_name (name , run_init , f"{ current } /run.json" )
116
119
create_file (created_file )
117
120
else :
You can’t perform that action at this time.
0 commit comments