[Refactor] Move the application running code from __init__ to __main__
This commit is contained in:
		@@ -121,7 +121,3 @@ def new_event():
 | 
			
		||||
        return redirect(url_for('hello'))
 | 
			
		||||
 | 
			
		||||
    return render_template('event-edit.html', form=form)
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
if __name__ == '__main__':
 | 
			
		||||
    app.run()
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user