diff --git a/gui/wxpython/modules/import_export.py b/gui/wxpython/modules/import_export.py index 97a646037ed..72cddb5e011 100644 --- a/gui/wxpython/modules/import_export.py +++ b/gui/wxpython/modules/import_export.py @@ -470,6 +470,7 @@ def OnRun(self, event): if self.dsnInput.GetType() == "dir": idsn = os.path.join(dsn, layer) elif self.dsnInput.GetType() == "db": + idsn = dsn if "PG:" in dsn: idsn = f"{dsn} table={layer}" else: