修复异常报错
This commit is contained in:
parent
97df9ce78a
commit
6c60442d6e
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue