Prefix: cleanup more folders (#29848)

cleanup downloads folders
pull/29850/head
Justin Newberry 2 years ago committed by GitHub
parent 1344a93a35
commit 0adc2f20c2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      common/prefix.py

@ -39,3 +39,5 @@ class OpenpilotPrefix:
os.remove(symlink_path)
shutil.rmtree(self.msgq_path, ignore_errors=True)
shutil.rmtree(Paths.log_root(), ignore_errors=True)
shutil.rmtree(Paths.download_cache_root(), ignore_errors=True)
shutil.rmtree(Paths.comma_home(), ignore_errors=True)

Loading…
Cancel
Save