Skip to content

Commit

Permalink
Set idsn var value if DB is Rasterlite
Browse files Browse the repository at this point in the history
  • Loading branch information
tmszi committed Sep 27, 2023
1 parent f76ec52 commit c0668a9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions gui/wxpython/modules/import_export.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit c0668a9

Please sign in to comment.