From 7c08eba2eb0b1c78c42adb785469748d7cb5c77e Mon Sep 17 00:00:00 2001 From: JarbasAI <33701864+JarbasAl@users.noreply.github.com> Date: Mon, 2 Dec 2024 19:51:34 +0000 Subject: [PATCH] fix: remove deprecated backend client --- ovos_PHAL_plugin_system/__init__.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/ovos_PHAL_plugin_system/__init__.py b/ovos_PHAL_plugin_system/__init__.py index 82fac68..cfdb2a5 100644 --- a/ovos_PHAL_plugin_system/__init__.py +++ b/ovos_PHAL_plugin_system/__init__.py @@ -5,7 +5,6 @@ from threading import Event from json_database import JsonStorageXDG, JsonDatabaseXDG -from ovos_backend_client.identity import IdentityManager from ovos_bus_client.apis.gui import GUIInterface from ovos_bus_client.message import Message from ovos_config.config import Configuration, update_mycroft_config @@ -105,11 +104,6 @@ def handle_factory_reset_request(self, message): self.bus.emit(message.forward("system.factory.reset.start")) self.bus.emit(message.forward("system.factory.reset.ping")) - if os.path.isfile(IdentityManager.OLD_IDENTITY_FILE): - os.remove(IdentityManager.OLD_IDENTITY_FILE) - if os.path.isfile(IdentityManager.IDENTITY_FILE): - os.remove(IdentityManager.IDENTITY_FILE) - wipe_cache = message.data.get("wipe_cache", True) if wipe_cache: p = f"{xdg_cache_home()}/{get_xdg_base()}"