Skip to content

Commit

Permalink
NXDRIVE-2882: fix_db should create dump.sql in same dir as db - fixed…
Browse files Browse the repository at this point in the history
… dead code
  • Loading branch information
gitofanindya authored Jan 9, 2024
1 parent 826c749 commit cc4eaef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nxdrive/dao/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ def fix_db(database: Path, /, *, dump_file: Path = None) -> None:
return

if not dump_file:
head, tail = path.split(database)
head = path.split(database)[0]
dump_file = Path(path.join(head, Path("dump.sql")))

log.info(f"Re-generating the whole database content of {database!r}...")
Expand Down

0 comments on commit cc4eaef

Please sign in to comment.