diff options
Diffstat (limited to 'django/db/backends/postgresql/client.py')
-rw-r--r-- | django/db/backends/postgresql/client.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/django/db/backends/postgresql/client.py b/django/db/backends/postgresql/client.py index 3effab65a8..0effcc44e6 100644 --- a/django/db/backends/postgresql/client.py +++ b/django/db/backends/postgresql/client.py @@ -51,7 +51,7 @@ class DatabaseClient(BaseDatabaseClient): env['PGSSLKEY'] = str(sslkey) if passfile: env['PGPASSFILE'] = str(passfile) - return args, env + return args, (env or None) def runshell(self, parameters): sigint_handler = signal.getsignal(signal.SIGINT) |