mirror of
https://github.com/mvt-project/mvt.git
synced 2026-10-13 19:21:15 +02:00
Fix path error when relative '.' used as backup source directory
This commit is contained in:
1 parent
d6af7c8cca
commit
e3a8bde150
1 file changed
+2
-1
+2
-1
@@ -7,6 +7,7 @@ import binascii
|
|||||||
import glob
|
import glob
|
||||||
import logging
|
import logging
|
||||||
import os
|
import os
|
||||||
|
import os.path
|
||||||
import shutil
|
import shutil
|
||||||
import sqlite3
|
import sqlite3
|
||||||
|
|
||||||
@@ -27,7 +28,7 @@ class DecryptBackup:
|
|||||||
:param backup_path: Path to the encrypted backup folder
|
:param backup_path: Path to the encrypted backup folder
|
||||||
:param dest_path: Path to the folder where to store the decrypted backup
|
:param dest_path: Path to the folder where to store the decrypted backup
|
||||||
"""
|
"""
|
||||||
self.backup_path = backup_path
|
self.backup_path = os.path.abspath(backup_path)
|
||||||
self.dest_path = dest_path
|
self.dest_path = dest_path
|
||||||
self._backup = None
|
self._backup = None
|
||||||
self._decryption_key = None
|
self._decryption_key = None
|
||||||
|
|||||||
Reference in new issue
Block a user