Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Jan 3, 2025
1 parent 14b5e2f commit 3bbeec6
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions tcms_settings_dir/multi_tenant.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,12 @@


# attachments storage
if STORAGES["default"]["BACKEND"] != "tcms_tenants.storage.TenantFileSystemStorage": # noqa: F821
STORAGES["default"]["BACKEND"] = "tcms_tenants.storage.TenantFileSystemStorage" # noqa: F821
if (
STORAGES["default"]["BACKEND"] != "tcms_tenants.storage.TenantFileSystemStorage"
): # noqa: F821
STORAGES["default"][
"BACKEND"
] = "tcms_tenants.storage.TenantFileSystemStorage" # noqa: F821

MULTITENANT_RELATIVE_MEDIA_ROOT = "tenant/%s"

Expand Down

0 comments on commit 3bbeec6

Please sign in to comment.