Ensure port for dsn is a string....
This commit is contained in:
parent
c090990357
commit
748b424b69
@ -275,7 +275,7 @@ def fetch_dbdsn(config, pw_gen, dbname=''):
|
||||
dsn += "@"
|
||||
dsn += host
|
||||
if port:
|
||||
dsn += ":" + port
|
||||
dsn += ":" + str(port)
|
||||
if dbname:
|
||||
dsn += "/" + dbname
|
||||
else:
|
||||
|
Loading…
Reference in New Issue
Block a user