mirror of
				https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
				synced 2025-11-03 20:02:47 +00:00 
			
		
		
		
	code cleanup
This commit is contained in:
		@@ -13,6 +13,5 @@ def create_message(recipient, subject, template, **kwargs):
 | 
			
		||||
 | 
			
		||||
@background
 | 
			
		||||
def send(msg, *args, **kwargs):
 | 
			
		||||
    app = kwargs['app']
 | 
			
		||||
    with app.app_context():
 | 
			
		||||
    with kwargs['app'].app_context():
 | 
			
		||||
        mail.send(msg)
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user