From 8db44a89ad1641ae718b6763c0af0a7f08476e03 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Benoi=CC=82t=20Pin?= Date: Wed, 16 Oct 2013 10:12:15 +0200 Subject: [PATCH] =?utf8?q?Ajout=20du=20minimum=20pour=20que=20zope=20d?= =?utf8?q?=C3=A9marre=20sans=20paypal=20install=C3=A9.?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- order.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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') -- 2.20.1