Commit 66c72505 authored by echel0n's avatar echel0n

Fixed startup issues with pathlib.Path, passes string representation of path to shutil.rmtree.

parent 72203528
......@@ -28,7 +28,7 @@ if __name__ == '__main__':
[p.unlink() for p in pathlib.Path(os.path.dirname(__file__)).rglob('*.py[co]')]
# remove __pycache__ folder
[shutil.rmtree(p) for p in pathlib.Path(os.path.dirname(__file__)).rglob('__pycache__')]
[shutil.rmtree(str(p)) for p in pathlib.Path(os.path.dirname(__file__)).rglob('__pycache__')]
from sickrage import main
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment