Skip to content

Commit

Permalink
Update datatableaccess.py
Browse files Browse the repository at this point in the history
Return if database is open
  • Loading branch information
wuwwen committed Jan 31, 2024
1 parent 1b73fe4 commit 262fd17
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mikeplus/datatableaccess.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ def open_database(self):
"""Open database
"""
if self.is_database_open():
self.close_database()
return
data_source = BaseDataSource.Create(self._file_path)
data_source.OpenDatabase()
datatables = DataTableContainer(True)
Expand Down

0 comments on commit 262fd17

Please sign in to comment.