Onionr/onionr/etc/cleanup/__init__.py

10 lines
249 B
Python
Raw Normal View History

2019-07-31 05:10:28 +00:00
import os, filepaths
def delete_run_files():
try:
os.remove(filepaths.public_API_host_file)
except FileNotFoundError:
pass
try:
os.remove(filepaths.private_API_host_file)
except FileNotFoundError:
pass