mirror of
https://github.com/borgbase/vorta
synced 2025-01-02 21:25:48 +00:00
Clear contents of log_text
after successfull backup (#1626)
Currently the label `logText` is not cleared after a borg command finished. When creating a backup the label will show the path of the last backuped file even after backup completion. This changes that and clears `logText` after the backup. * src/vorta/borg/create.py (BorgCreateJob.process_result) --------- Co-authored-by: yfprojects <62463991+real-yfprojects@users.noreply.github.com>
This commit is contained in:
parent
82270adf4f
commit
d7634e8719
1 changed files with 1 additions and 0 deletions
|
@ -49,6 +49,7 @@ def process_result(self, result):
|
||||||
).format(LOG_DIR.as_uri())
|
).format(LOG_DIR.as_uri())
|
||||||
)
|
)
|
||||||
else:
|
else:
|
||||||
|
self.app.backup_log_event.emit('', {})
|
||||||
self.app.backup_progress_event.emit(f"[{self.params['profile_name']}] {self.tr('Backup finished.')}")
|
self.app.backup_progress_event.emit(f"[{self.params['profile_name']}] {self.tr('Backup finished.')}")
|
||||||
|
|
||||||
def progress_event(self, fmt):
|
def progress_event(self, fmt):
|
||||||
|
|
Loading…
Reference in a new issue