1 2 3 4 5 6 7 8 9 10 11
#!/usr/bin/env python3 import os from fragments import garage, shared, minio garage.destroy() minio.destroy() if len(shared.storage_path) > 8 and shared.id() == 1: shared.exec(f"rm -r {shared.storage_path}") shared.log("clean done")