Ticket #72
billing-api: missing "from datetime import date" causes NameError on every Linux purchase
closed
bug
critical
-
2026-06-15 19:08:47
2026-06-15 19:10:58
Description
provision_linux() calls date.today().isoformat() to set the issued date in license.lic, but datetime.date is never imported at the top of app.py. Every Linux purchase triggers a NameError at the date.today() call, the license email is never sent, and the customer gets nothing. The function silently fails (no re-raise, just a print). Fix: add "from datetime import date" to the imports in billing-api/app.py.
Ticket Events
No events yet. Ledger Goblin awaits paperwork.
Add Comment