mirror of
				https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
				synced 2025-10-31 02:32:45 +00:00 
			
		
		
		
	Change delete execution
This commit is contained in:
		| @@ -46,9 +46,8 @@ def service(service): | ||||
|         try: | ||||
|             os.makedirs(absolut_dir) | ||||
|         except OSError: | ||||
|             flash('[OSError] Could not add job!') | ||||
|             db.session.delete(job) | ||||
|             db.session.commit() | ||||
|             flash('[ERROR]: Could not add job!') | ||||
|             job.delete() | ||||
|         else: | ||||
|             for file in add_job_form.files.data: | ||||
|                 filename = secure_filename(file.filename) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user