minerllabs / minerl

MineRL Competition for Sample Efficient Reinforcement Learning - Python Package
http://minerl.io/docs/
Other
711 stars 153 forks source link

Remove temporary directory after killing the instance #616

Closed lostmsu closed 2 years ago

lostmsu commented 2 years ago

Windows won't let you delete directory because it is in use

Fixes https://github.com/minerllabs/minerl/issues/373

pep8speaks commented 2 years ago

Hello @lostmsu! Thanks for opening this PR. We checked the lines you've touched for PEP 8 issues, and found:

Line 770:13: E722 do not use bare 'except'

Miffyli commented 2 years ago

LGTM! Works like a charm :). Thanks for looking into this!