mirror of
				https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
				synced 2025-11-03 20:02:47 +00:00 
			
		
		
		
	Change file download view.
This commit is contained in:
		@@ -110,8 +110,9 @@ def job(job_id):
 | 
			
		||||
            files[file]['results'] = {}
 | 
			
		||||
            results_dir = os.path.join(dir, 'output', file)
 | 
			
		||||
            for result in os.listdir(results_dir):
 | 
			
		||||
                files[file]['results'][result] = {}
 | 
			
		||||
                files[file]['results'][result]['path'] = os.path.join(
 | 
			
		||||
                result_type = result.rsplit(".", 1)[1]
 | 
			
		||||
                files[file]['results'][result_type] = {}
 | 
			
		||||
                files[file]['results'][result_type]['path'] = os.path.join(
 | 
			
		||||
                    'output', files[file]['path'], result
 | 
			
		||||
                )
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user