> > 1. Hard coding local file paths '/home/amitt001/mycodes/dgplug/...' is > wrong. When you deploy your web app on another machine, it won't work, > because the path won't exist on that machine. > => Such parameters should go into a configuration file. > > > 2. Temporary file creation in search.py is not secure. > => see -> > https://kurt.seifried.org/2012/03/14/creating-temporary-files-securely/ >
Thank you for looking into my, not so pythonic, code and pointing out my mistakes. I will correct them. _______________________________________________ Users mailing list [email protected] http://lists.dgplug.org/listinfo.cgi/users-dgplug.org
