Skip to content

Commit

Permalink
Merge branch 'refactoring-and-tooling' of https://github.com/jazzband…
Browse files Browse the repository at this point in the history
…/django-dbbackup into refactoring-and-tooling
  • Loading branch information
Archmonger committed Apr 29, 2022
2 parents e55b3c7 + da6dbe0 commit 3f48f9d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dbbackup/db/postgresql.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ class PgDumpGisConnector(PgDumpConnector):
psql_cmd = "psql"

def _enable_postgis(self):
cmd = '{} -c "CREATE EXTENSION IF NOT EXISTS postgis;"'.format(self.psql_cmd)
cmd = f'{self.psql_cmd} -c "CREATE EXTENSION IF NOT EXISTS postgis;"'
cmd += " --username={}".format(self.settings["ADMIN_USER"])
cmd += " --no-password"
if self.settings.get("HOST"):
Expand Down

0 comments on commit 3f48f9d

Please sign in to comment.