Skip to content

Commit

Permalink
Merge pull request #10 from anze3db/dedent-cleanup
Browse files Browse the repository at this point in the history
Remove unnecessary dedent
  • Loading branch information
epicserve authored Nov 3, 2024
2 parents 82c8e4f + 842e4cb commit 8eb256e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/dj_beat_drop/new.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
import shutil
import urllib.parse
from pathlib import Path
from textwrap import dedent

from InquirerPy import inquirer
from packaging.version import Version
Expand Down Expand Up @@ -42,7 +41,7 @@ def replace_sqlite_config(content: str, django_version: str) -> str:
rtn_val = content
rtn_val = re.sub(
r"^DATABASES\s*=\s*\{.+?\}\n\}",
dedent(
(
"DATABASES = {\n"
" 'default': {\n"
" 'ENGINE': 'django.db.backends.sqlite3',\n"
Expand Down

0 comments on commit 8eb256e

Please sign in to comment.