[print_status.py] notif pour les jobs via wrapper

Il reste un bug de notification pour le club Crans: la liste des
imprimeurs de ce club semble vide. En attendant, le cron va
envoyer des mails si ça arrive.
This commit is contained in:
Daniel STAN 2013-03-18 17:46:54 +01:00
parent ebe94de094
commit 2ca9b45851
3 changed files with 14 additions and 4 deletions

View file

@ -39,5 +39,5 @@ class impression(impression_canon.impression):
opt += ['--duplex-type', 'one-sided']
opt += ['--staple-position', self._settings['agrafage']]
opt.append(self._fichier)
self.log.info("Impression(%d) : %s" % (self._jid, repr(opt)))
self.log.info("Impression(%d) : %s" % (self._jid, " ".join(opt)))
subprocess.Popen(['/usr/scripts/impression/canon_wrapper.py'] + opt)