forked from claw/flaskpaste
style: format with ruff
This commit is contained in:
@@ -41,8 +41,10 @@ class Config:
|
||||
|
||||
# Require binary content (reject recognizable formats)
|
||||
# Rejects content with known magic bytes (PNG, JPEG, PDF, etc.) and UTF-8 text.
|
||||
REQUIRE_BINARY = (
|
||||
os.environ.get("FLASKPASTE_REQUIRE_BINARY", "0").lower() in ("1", "true", "yes")
|
||||
REQUIRE_BINARY = os.environ.get("FLASKPASTE_REQUIRE_BINARY", "0").lower() in (
|
||||
"1",
|
||||
"true",
|
||||
"yes",
|
||||
)
|
||||
|
||||
# Reverse proxy trust configuration
|
||||
|
||||
Reference in New Issue
Block a user