You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
recyclarr/src/trash.py

13 lines
344 B

from pathlib import Path
from app.logic.main import main
from app.trash_error import TrashError
# --------------------------------------------------------------------------------------------------
if __name__ == '__main__':
try:
main(Path(__file__).parent)
except TrashError as e:
print(f'ERROR: {e}')
exit(1)