Fix log path
This commit is contained in:
		@@ -214,7 +214,8 @@ def local_push_file(job_log_dir, file_path, local_config):
 | 
				
			|||||||
    dest_file = os.path.join(dest_dir, dest_filename)
 | 
					    dest_file = os.path.join(dest_dir, dest_filename)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    shutil.copyfile(file_path, dest_file)
 | 
					    shutil.copyfile(file_path, dest_file)
 | 
				
			||||||
    return local_config['prepend_url'] + os.path.join(dest_dir, dest_filename)
 | 
					    return local_config['prepend_url'] + os.path.join(job_log_dir,
 | 
				
			||||||
 | 
					                                                      dest_filename)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
def scp_push_file(job_log_dir, file_path, local_config):
 | 
					def scp_push_file(job_log_dir, file_path, local_config):
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -264,7 +264,7 @@ class Runner(threading.Thread):
 | 
				
			|||||||
                    'unique_id': self.job.unique,
 | 
					                    'unique_id': self.job.unique,
 | 
				
			||||||
                    'job_working_dir': os.path.join(
 | 
					                    'job_working_dir': os.path.join(
 | 
				
			||||||
                        self.global_config['jobs_working_dir'],
 | 
					                        self.global_config['jobs_working_dir'],
 | 
				
			||||||
                        self.job.unique
 | 
					                        dataset['determined_path']
 | 
				
			||||||
                    ),
 | 
					                    ),
 | 
				
			||||||
                    'git_path': self.git_path,
 | 
					                    'git_path': self.git_path,
 | 
				
			||||||
                    'dbuser': dataset['config']['db_user'],
 | 
					                    'dbuser': dataset['config']['db_user'],
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user