change permissions without calling system
In image_server.py, there is code like:
tempDirectory = tempfile.TemporaryDirectory()
# Give directory correct permissions.
os.system("chmod o-r {}".format(tempDirectory.namey))
Change this to use something other than os.system
. This is probably an easy fix for someone looking to get involved.