from flask import Flask

app = Flask(__name__)
app.config.from_object("config")

import os
from flask import Flask

app = Flask(__name__)
app.config.from_object(os.environ.get("WCONTROL_CONF"))

Use a env var to get config
Use a env var to get config

+ import os
  from flask import Flask
  
  app = Flask(__name__)
- app.config.from_object("config")
+ app.config.from_object(os.environ.get("WCONTROL_CONF"))
  
Use a env var to get config
## Code Before:
from flask import Flask

app = Flask(__name__)
app.config.from_object("config")

## Instruction:
Use a env var to get config
## Code After:
import os
from flask import Flask

app = Flask(__name__)
app.config.from_object(os.environ.get("WCONTROL_CONF"))
