修复异常报错

This commit is contained in:
wangsong 2022-08-24 11:00:04 +08:00
parent 97df9ce78a
commit 6c60442d6e
1 changed files with 2 additions and 1 deletions

View File

@ -49,7 +49,7 @@ class UpdateManager():
self.init_config_aptdeamon = False
self.aptd_lang_switch = False
self.retry_limit = self.RETRY_LIMIT_NUM
self.config_path = self.refresh_config_patch
self.config_path = self.refresh_config_patch()
self.now_working = InstallBackend.ACTION_DEFUALT_STATUS
#dbus
self.dbusController = self._setup_dbus()
@ -67,6 +67,7 @@ class UpdateManager():
self.install_mode = UpdateInstallMode(self)
self.apt_p2p_config = AptP2pConfigManager()
self._refresh_cache_only()
except Exception as e:
logging.error(e)
traceback.print_exc()