From cf0275a3ed4c524444731f573b2c1976ad840548 Mon Sep 17 00:00:00 2001 From: Divyansh Singh Date: Sat, 4 Mar 2023 23:00:57 +0530 Subject: [PATCH] remove test path --- borgmatic/hooks/sqlite.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/borgmatic/hooks/sqlite.py b/borgmatic/hooks/sqlite.py index 3217f33..637e7e9 100644 --- a/borgmatic/hooks/sqlite.py +++ b/borgmatic/hooks/sqlite.py @@ -105,7 +105,7 @@ def restore_database_dump(database_config, log_prefix, location_config, dry_run, return try: - os.remove('/home/divyansh/Desktop/hello.txt') + os.remove(database_path) logger.warn(f'{log_prefix}: Removed existing SQLite database at {database_path}') except FileNotFoundError: # pragma: no cover pass