add missing quotes to encoding
This commit is contained in:
parent
7ee5b7fc5f
commit
1cf370f4ae
1 changed files with 1 additions and 1 deletions
|
@ -140,7 +140,7 @@ def create_pgsql_database(dbname, username):
|
|||
curs.execute(
|
||||
"""
|
||||
CREATE DATABASE %(dbname)s OWNER %(username)s
|
||||
TEMPLATE template0 ENCODING UTF8
|
||||
TEMPLATE template0 ENCODING 'UTF8'
|
||||
""",
|
||||
{'dbname': Ident(dbname), 'username': Ident(username)}
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue