X-Git-Url: https://svn.cri.ensmp.fr/git/photoprint.git/blobdiff_plain/3af5cd787b12ad1a54f05f37cfa729f073e08ad4..2902c4fc625f6e3334aaf1b085b607870dba6177:/order.py?ds=sidebyside diff --git a/order.py b/order.py index ea48483..66d17fa 100755 --- a/order.py +++ b/order.py @@ -45,7 +45,11 @@ from price import Price from xml.dom.minidom import Document from tool import COPIES_COUNTERS from App.config import getConfiguration -from paypal.interface import PayPalInterface +try : + from paypal.interface import PayPalInterface + paypalAvailable = True +except ImportError : + paypalAvailable = False from logging import getLogger console = getLogger('Products.photoprint.order')