Browse Source

remove test path

Divyansh Singh 2 years ago
parent
commit
cf0275a3ed
1 changed files with 1 additions and 1 deletions
  1. 1 1
      borgmatic/hooks/sqlite.py

+ 1 - 1
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