Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
dwreeves committed May 26, 2024
1 parent 32b7166 commit 9ef66f5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,10 @@ jobs:

steps:
- uses: actions/checkout@v2
- name: Python 3.10 Setup
- name: Python Setup
uses: actions/setup-python@v2
with:
python-version: "3.10"
python-version: "3.12"
- name: Install dependencies
run: |
sudo apt-get update
Expand Down
2 changes: 1 addition & 1 deletion app/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ def create_app(config: Optional[str] = None) -> Flask:

from .config import get_config_from_env

cfg = get_config_from_env(config or os.getenv("ENV"))
cfg = get_config_from_env(config or os.getenv("FLASK_ENV") or os.getenv("ENV"))
app.config.from_object(cfg)

with app.app_context():
Expand Down

0 comments on commit 9ef66f5

Please sign in to comment.