Skip to content

Commit

Permalink
oops
Browse files Browse the repository at this point in the history
  • Loading branch information
hausman-gdit committed Feb 4, 2024
1 parent b878605 commit 665fdf6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions bmds_server/desktop/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -400,8 +400,10 @@ def create_project(self):
db_name = self.query_one(Input).value + ".sqlite3"
config = load_config()
config["desktop"]["file_name"] = str(db_name)
cf = Path(get_data_folder()) / db_name

try:
cf.touch()
with open(Path(APP_ROOT / "config.ini"), "w") as configfile:
config.write(configfile)
self.query_one("#disp-fn").update(get_project_filename())
Expand Down

0 comments on commit 665fdf6

Please sign in to comment.