Skip to content

Commit

Permalink
t.remove: remove from current mapset only
Browse files Browse the repository at this point in the history
  • Loading branch information
metzm committed Jun 20, 2022
1 parent 7cf59ee commit 22e8ba7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion temporal/t.remove/t.remove.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,8 @@ def main():
# Make sure the temporal database exists
tgis.init()

dbif = tgis.SQLDatabaseInterfaceConnection()
# only use the TGIS db of the current mapset
dbif = tgis.SQLDatabaseInterfaceConnection(only_current_mapset=True)
dbif.connect()

dataset_list = []
Expand Down

0 comments on commit 22e8ba7

Please sign in to comment.