Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
Signed-off-by: Daniel Lok <[email protected]>
  • Loading branch information
daniellok-db committed Feb 5, 2024
1 parent aa9eb7a commit e2db7e2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion slowapi/extension.py
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,9 @@ def __init__(

dotenv_file_exists = os.path.isfile(".env")
self.app_config = Config(
".env" if dotenv_file_exists and config_filename is None else config_filename
".env"
if dotenv_file_exists and config_filename is None
else config_filename
)

self.enabled = enabled
Expand Down

0 comments on commit e2db7e2

Please sign in to comment.