Skip to content

Commit

Permalink
fix: remove deprecated backend client
Browse files Browse the repository at this point in the history
  • Loading branch information
JarbasAl authored Dec 2, 2024
1 parent 6ad4104 commit 7c08eba
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions ovos_PHAL_plugin_system/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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()}"
Expand Down

0 comments on commit 7c08eba

Please sign in to comment.