mknet/scenarios/clean

11 lines
217 B
Text
Raw Normal View History

2022-09-14 15:25:16 +00:00
#!/usr/bin/env python3
import os
from fragments import garage, shared
garage.destroy()
2022-09-19 12:16:08 +00:00
if len(shared.storage_path) > 8 and shared.id() == 1:
shared.exec(f"rm -r {shared.storage_path}")
2022-09-14 15:25:16 +00:00
shared.log("clean done")