mirror of
https://github.com/TeamPGM/PagerMaid-Pyro.git
synced 2024-11-22 13:15:39 +00:00
8 lines
148 B
Python
8 lines
148 B
Python
|
import contextlib
|
||
|
from os import remove
|
||
|
|
||
|
|
||
|
def safe_remove(name: str) -> None:
|
||
|
with contextlib.suppress(FileNotFoundError):
|
||
|
remove(name)
|