Skip to content

Commit

Permalink
Update utils.py
Browse files Browse the repository at this point in the history
  • Loading branch information
gitofanindya authored Nov 29, 2024
1 parent 1b9c085 commit 997db2f
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion nxdrive/dao/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ def dump(database: Path, dump_file: Path, /) -> None:

log.info(f"Dumping the database {database!r} into {dump_file!r}...")
con = sqlite3.connect(str(database))
log.info(f"Dumping the database {database!r} into {dump_file!r}...")
with dump_file.open(mode="w", encoding="utf-8") as f:
for line in con.iterdump():
f.write(f"{line}\n")
Expand Down

0 comments on commit 997db2f

Please sign in to comment.