diff --git a/launch.py b/launch.py index 36c1363..296f945 100644 --- a/launch.py +++ b/launch.py @@ -154,7 +154,7 @@ subprocess.run("sudo rm -rf {}*".format(bluez_folder_path), shell=True) # purge A2DP profile to improve connectivity stability -if cache['bluealsa'].is_installed: +if 'bluealsa' in cache and cache['bluealsa'].is_installed: cache['bluealsa'].mark_delete(purge=True) try: cache.commit()