backup: fix of a bug introduced in the qvm-backup-restore command by adding a progress_callback
This commit is contained in:
parent
26fb5b3d25
commit
a594af02de
@ -1377,6 +1377,10 @@ def restore_vm_dirs (backup_dir, backup_tmpdir, passphrase, vms_dirs, vms, vms_s
|
||||
|
||||
self.print_callback("Finished extracting thread")
|
||||
|
||||
if progress_callback == None:
|
||||
def progress_callback(data):
|
||||
pass
|
||||
|
||||
to_extract = Queue()
|
||||
extract_proc = Extract_Worker(to_extract, backup_tmpdir, passphrase, encrypted, vms_size, print_callback, error_callback, progress_callback)
|
||||
extract_proc.start()
|
||||
|
Loading…
Reference in New Issue
Block a user