dudarev/pyqrcode — pull request #1 by PaulEcoffet (2012-12-02 16:53:43+00:00)
Title: Correction of PIL importation

Depending of the way PIL has been installed, it is possible that the
importation of the whole PIL module fails, but the importation of its
submodules succeed. If the importation with PIL.submodule doesn't work,
then pyqrtcode now tries to import its submodules directly.

This bug appears when PIL is installed with easy_install and not by the
Windows installer nor the package from various distribution directories.

For more information, see
http://stackoverflow.com/questions/8863917/importerror-no-module-named-pil

I have tested this, and it works perfectly. I use your library quite often for my project, so it is likely that I would make some pull requests so as to improve the work you've already done.

Thank you for your library.