mirror of
				https://github.com/ProjectSynthoria/SynthoriaArchive.git
				synced 2025-11-04 01:45:46 +02:00 
			
		
		
		
	added success message after torrent edit
This commit is contained in:
		
							parent
							
								
									f5551dd1e5
								
							
						
					
					
						commit
						5a1e44faff
					
				
					 1 changed files with 3 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -536,6 +536,9 @@ def edit_torrent(torrent_id):
 | 
			
		|||
 | 
			
		||||
        db.session.commit()
 | 
			
		||||
 | 
			
		||||
        flask.flash(flask.Markup(
 | 
			
		||||
            'Torrent has been successfully edited! Changes might take a few minutes to show up.'), 'info')
 | 
			
		||||
 | 
			
		||||
        return flask.redirect('/view/' + str(torrent_id))
 | 
			
		||||
    else:
 | 
			
		||||
        # Setup form with pre-formatted form.
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue