Closed tomlin7 closed 3 years ago
Import change is good. Not so keen onnthe cache change... It's meant to use a separate directory. A better fix would be to make it ensure that directory exists on start up. Are you happy to make that change?
python fails to create a file inside another folder, that was the main problem I was facing.
first creating a directory, and then saving the files worked! i shall implement it.
Excellent! That is exactly the sort of fix that I was talking about.
Looking better. A slightly simpler solution would be just to call mkdir
in Map.__init__
. This will always run before any of those commands and so ensure that the directory exists. If a user actually deletes the directory while running, you'll hit an exception and that would be justified IMHO.
What issues does this fix?
What does this implement/fix?