Skip to content

Commit

Permalink
Fix logic errors in create db widget
Browse files Browse the repository at this point in the history
  • Loading branch information
ahmadfebrianto committed Jan 6, 2023
1 parent 7811807 commit c45f1c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/view/widget_create_db.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ def create_db(self):
# Create the database
db.create(db_path, db_password)
# Create config file after the database is created
config.set(String.CONFIG_SECTION_DB, String.CONFIG_KEY_DBPATH, db_password)
config.set(String.CONFIG_SECTION_DB, String.CONFIG_KEY_DBPATH, db_path)
config.save()
self.db_created.emit()

Expand Down

0 comments on commit c45f1c6

Please sign in to comment.