Skip to content

Commit

Permalink
fix: debug env error
Browse files Browse the repository at this point in the history
  • Loading branch information
Icemap committed Jun 20, 2024
1 parent fe0ed7d commit c51828c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 11 deletions.
10 changes: 0 additions & 10 deletions Makefile

This file was deleted.

2 changes: 1 addition & 1 deletion app/config/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ class __Config:
def __init__(self):
load_dotenv()

self.debug = bool(os.getenv("DEBUG", "True"))
self.debug = bool(os.getenv("DEBUG", "True") == "True")

self.open_ai_base_url = os.getenv("OPEN_AI_BASE_URL", "https://api.openai.com/v1")
self.open_ai_api = os.getenv("OPEN_AI_API", "")
Expand Down

0 comments on commit c51828c

Please sign in to comment.