summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Reichel <sre@ring0.de>2013-02-23 20:43:00 +0100
committerSebastian Reichel <sre@ring0.de>2013-02-23 20:43:00 +0100
commite4edc7e3f093333f65702e4b547930f0cb4e57a7 (patch)
tree490f29df20c1f69eb046f5179505349812ee8def
parentb9a8679e7f0a91c5f1803465b16d4e152c38fb5f (diff)
downloadserial-barcode-scanner-e4edc7e3f093333f65702e4b547930f0cb4e57a7.tar.bz2
remove debug print
-rwxr-xr-xinvoice/generate-invoice.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/invoice/generate-invoice.py b/invoice/generate-invoice.py
index ab791b1..e152c8b 100755
--- a/invoice/generate-invoice.py
+++ b/invoice/generate-invoice.py
@@ -184,9 +184,8 @@ def daily(timestamp = time.time()):
if userinfo is not None:
receiver = "%s %s <%s>" % (userinfo["firstname"], userinfo["lastname"], userinfo["email"])
msg = generate_invoice_text(user, title, subject, start, stop, True)
- print(msg)
mail = mailer.generate_mail(receiver, title, msg, None, timestamp)
- #mailer.send_mail(mail, userinfo["email"])
+ mailer.send_mail(mail, userinfo["email"])
else:
print("Can't send invoice for missing user with the following id:", user)