old_contents: import os
  basedir = os.path.abspath(os.path.dirname(__file__))
  
  if os.environ.get('DATABASE_URL') is None:
      SQLALCHEMY_DATABASE_URI = 'sqlite:///' + os.path.join(basedir, 'app.db')
  else:
      SQLALCHEMY_DATABASE_URI = os.environ['DATABASE_URL']
  SQLALCHEMY_MIGRATE_REPO = os.path.join(basedir, 'db_repository')
  
  WTF_CSRF_ENABLED = True
  SECRET_KEY = 'you-will-never-guess'
  
  OPENID_PROVIDERS = [
      {'name': 'Google', 'url': 'https://www.google.com/accounts/o8/id'},
      {'name': 'Yahoo', 'url': 'https://me.yahoo.com'},
      {'name': 'AOL', 'url': 'http://openid.aol.com/<username>'},
      {'name': 'Flickr', 'url': 'http://www.flickr.com/<username>'},
      {'name': 'MyOpenID', 'url': 'https://www.myopenid.com'}]
  
  # mail server settings
  # MAIL_SERVER = 'localhost'
  # MAIL_PORT = 25
  # MAIL_USERNAME = None
  # MAIL_PASSWORD = None
  
  # email server
  MAIL_SERVER = 'smtp.googlemail.com'
  MAIL_PORT = 465
  MAIL_USE_TLS = False
  MAIL_USE_SSL = True
  MAIL_USERNAME = os.environ.get('MAIL_USERNAME')
  MAIL_PASSWORD = os.environ.get('MAIL_PASSWORD')
  
  # administrator list
  ADMINS = ['minimausmusterfrau@gmail.com']
  
  # pagination
  POSTS_PER_PAGE = 3
  
  # Whoosh does not work on Heroku
  WHOOSH_ENABLED = os.environ.get('HEROKU') is None
  WHOOSH_BASE = os.path.join(basedir, 'search.db')
  MAX_SEARCH_RESULTS = 50
  
  # -*- coding: utf-8 -*-
  # ...
  # available languages
  LANGUAGES = {
      'en': 'English',
      'de': 'German',
      'es': 'Español'
  }
  
  # microsoft translation service
  MS_TRANSLATOR_CLIENT_ID = 'microblog-client-id' # enter your MS translator app id here
  MS_TRANSLATOR_CLIENT_SECRET = 'Knlbz6SVDATHGRrpIbMMZ+Kdw3VrcLV4SVAfOV9EDP4=' # enter your MS translator app secret here
  
  SQLALCHEMY_RECORD_QUERIES = True
  # slow database query threshold (in seconds)
  DATABASE_QUERY_TIMEOUT = 0.5
new_contents: import os
  basedir = os.path.abspath(os.path.dirname(__file__))
  
  if os.environ.get('DATABASE_URL') is None:
      SQLALCHEMY_DATABASE_URI = 'sqlite:///' + os.path.join(basedir, 'app.db')
  else:
      SQLALCHEMY_DATABASE_URI = os.environ['DATABASE_URL']
  SQLALCHEMY_MIGRATE_REPO = os.path.join(basedir, 'db_repository')
  
  WTF_CSRF_ENABLED = True
  SECRET_KEY = 'you-will-never-guess'
  
  OPENID_PROVIDERS = [
      {'name': 'Google', 'url': 'https://www.google.com/accounts/o8/id'},
      {'name': 'Yahoo', 'url': 'https://me.yahoo.com'},
      {'name': 'AOL', 'url': 'http://openid.aol.com/<username>'},
      {'name': 'Flickr', 'url': 'http://www.flickr.com/<username>'},
      {'name': 'MyOpenID', 'url': 'https://www.myopenid.com'}]
  
  # mail server settings
  # MAIL_SERVER = 'localhost'
  # MAIL_PORT = 25
  # MAIL_USERNAME = None
  # MAIL_PASSWORD = None
  
  # email server
  MAIL_SERVER = 'smtp.googlemail.com'
  MAIL_PORT = 465
  MAIL_USE_TLS = False
  MAIL_USE_SSL = True
  MAIL_USERNAME = os.environ.get('MAIL_USERNAME')
  MAIL_PASSWORD = os.environ.get('MAIL_PASSWORD')
  
  # administrator list
  ADMINS = ['minimausmusterfrau@gmail.com']
  
  # pagination
  POSTS_PER_PAGE = 3
  
  # Whoosh does not work on Heroku
  WHOOSH_ENABLED = os.environ.get('HEROKU') is None
  WHOOSH_BASE = os.path.join(basedir, 'search.db')
  MAX_SEARCH_RESULTS = 50
  
  # -*- coding: utf-8 -*-
  # ...
  # available languages
  LANGUAGES = {
      'en': 'English',
      'de': 'German'
  }
  
  # microsoft translation service
  MS_TRANSLATOR_CLIENT_ID = 'microblog-client-id' # enter your MS translator app id here
  MS_TRANSLATOR_CLIENT_SECRET = 'Knlbz6SVDATHGRrpIbMMZ+Kdw3VrcLV4SVAfOV9EDP4=' # enter your MS translator app secret here
  
  SQLALCHEMY_RECORD_QUERIES = True
  # slow database query threshold (in seconds)
  DATABASE_QUERY_TIMEOUT = 0.5
subject: Remove non-ASCII character in config.py