Explorar o código

remove test path

Divyansh Singh %!s(int64=2) %!d(string=hai) anos
pai
achega
cf0275a3ed
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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