[view.qt.thread] fix: crashing for custom actions that can request a system backup

This commit is contained in:
Vinicius Moreira
2021-12-15 15:47:32 -03:00
parent 0a5501fbd8
commit 98e19ea934
2 changed files with 2 additions and 1 deletions

View File

@@ -1025,7 +1025,7 @@ class CustomAction(AsyncAction):
res = {'success': False, 'pkg': self.pkg, 'action': self.custom_action, 'error': None, 'error_type': MessageType.ERROR}
if self.custom_action.backup:
proceed, _ = self.request_backup(app_config=CoreConfigManager.get_config(),
proceed, _ = self.request_backup(app_config=CoreConfigManager().get_config(),
action_key=None,
i18n=self.i18n,
root_password=self.root_pwd,