impression: débite uniquement en non débug

This commit is contained in:
Daniel STAN 2014-09-13 20:20:06 +02:00
parent cf5f2a9088
commit d41af527b8

View file

@ -353,7 +353,7 @@ class impression(object):
self._jid = self._uniq_jid() self._jid = self._uniq_jid()
# debite l'adhérent si adherent il y a # debite l'adhérent si adherent il y a
if (self._adh != None): if not DEBUG and (self._adh != None):
adh = self._adh.split('@') adh = self._adh.split('@')
if len(adh) > 1: if len(adh) > 1:
adh = adh[1:] adh = adh[1:]