Created
June 12, 2015 06:06
-
-
Save icu0755/78cf7b137c3949786abc to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if not (reportlab.Version[0] == "2" and reportlab.Version[2] >= "1"): | |
raise ImportError("Reportlab Version 2.1+ is needed!") | |
REPORTLAB22 = (reportlab.Version[0] == "2" and reportlab.Version[2] >= "2") | |
if not (reportlab.Version[:3]>="2.1"): | |
raise ImportError("Reportlab Version 2.1+ is needed!") | |
REPORTLAB22 = (reportlab.Version[:3]>="2.1") | |
#and reinstall xhtml2pdf. It will work. | |
#You will need to uninstall xhtml2pdf first. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment