Skip to content

Commit

Permalink
Appease flake8
Browse files Browse the repository at this point in the history
  • Loading branch information
skorokithakis committed Jan 29, 2019
1 parent aa77491 commit bc940d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion project_name/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@
elif os.getenv("DATABASE_URL"):
# Running under Dokku.
USER, PASSWORD, HOST, PORT, NAME = re.match( # type: ignore
"^postgres:https://(?P<username>.*?)\:(?P<password>.*?)\@(?P<host>.*?)\:(?P<port>\d+)\/(?P<db>.*?)$",
r"^postgres:https://(?P<username>.*?)\:(?P<password>.*?)\@(?P<host>.*?)\:(?P<port>\d+)\/(?P<db>.*?)$",
os.getenv("DATABASE_URL", ""),
).groups()

Expand Down

0 comments on commit bc940d4

Please sign in to comment.