diff --git a/platformio/maintenance.py b/platformio/maintenance.py index 5f275736..16712872 100644 --- a/platformio/maintenance.py +++ b/platformio/maintenance.py @@ -141,7 +141,7 @@ def after_upgrade(ctx): click.secho("Please wait while upgrading PlatformIO...", fg="yellow") try: app.clean_cache() - except PermissionError: + except: # pylint: disable=bare-except pass # Update PlatformIO's Core packages