old_contents: CLIENT_ID = ''
  CLIENT_SECRET = ''
  FLATTR_URL = 'http://flattr.dev'
  #FLATTR_URL = 'https://flattr.com'
  REDIRECT_URL = 'http://localhost:8080/flattrback'
  
new_contents: import os
  
  CLIENT_ID = ''
  CLIENT_SECRET = ''
  
  ON_PRODUCTION = os.environ['SERVER_SOFTWARE'].startswith('Google App Engine') # http://stackoverflow.com/questions/1916579/in-python-how-can-i-test-if-im-in-google-app-engine-sdk
  
  if ON_PRODUCTION:
      REDIRECT_URL = 'http://www.youtify.com/flattrback'
  else:
      REDIRECT_URL = 'http://localhost:8080/flattrback'
  
subject: Clean up config