old_contents: from flask import (
  	Flask,
  	render_template,
  	abort
  )
  
  from server import Server
  import logging
  
  app = Flask(__name__)
  app.config.from_pyfile('../settings.py')
  
  servers = Server.createFromConfig(app.config['SERVERS'], app.config['API_KEYS'])
  
  @app.route('/')
  def index():
  	shows = [server.getShows() for server in servers]
  	return str(shows)
  
  
  if __name__ == '__main__':
  	app.debug = True
  	app.run()
  
new_contents: import logging
  
  from flask import (
  	Flask,
  	render_template,
  	abort
  )
  
  from glanerbeard.server import Server
  
  app = Flask(__name__)
  app.config.from_pyfile('../settings.py')
  
  servers = Server.createFromConfig(app.config['SERVERS'], app.config['API_KEYS'])
  
  @app.route('/')
  def index():
  	shows = [server.getShows() for server in servers]
  	return str(shows)
  
  
  if __name__ == '__main__':
  	app.debug = True
  	app.run()
  
subject: Rearrange imports.