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 19, 2022
1 parent e0c20fc commit e0377de
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 @@ -476,6 +476,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 e0377de

Please sign in to comment.