Skip to content

Commit

Permalink
database plugin: improve getting sqlite3 file method
Browse files Browse the repository at this point in the history
  • Loading branch information
onkelandy committed Apr 16, 2024
1 parent b9898cd commit 99e1c37
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion database/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -392,7 +392,7 @@ def copy_databasefile(self):

# get source and destination names
try:
database_name = self._connect[0]
database_name = next((s for s in self._connect if s.startswith("database:")), '')
database_name = database_name[9:].strip()
except:
database_name = ''
Expand Down

0 comments on commit 99e1c37

Please sign in to comment.