Changed tempdir for the restricted system so that the user can provide it in case of access restricted environments. I ran into this problem when I was using AWS lambda and it restricts write access to folders and only some folder has write access. In my case, I was able to write into /tmp so I changed the code for that.
Changed tempdir for the restricted system so that the user can provide it in case of access restricted environments. I ran into this problem when I was using AWS lambda and it restricts write access to folders and only some folder has write access. In my case, I was able to write into /tmp so I changed the code for that.