Skip to content

Commit

Permalink
GUI dev (#42)
Browse files Browse the repository at this point in the history
  • Loading branch information
escomputers authored Nov 13, 2022
2 parents 7275f38 + 2d0fd51 commit 8dc26e4
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion modules/order.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
import PySimpleGUI as sg

import uuid

import certifi
import io
import logging
import os
Expand All @@ -24,6 +24,9 @@

from jinja2 import Environment, FileSystemLoader

# create Mozilla root certificates
os.environ['SSL_CERT_FILE'] = certifi.where()

# load jinja2 template
env = Environment(loader=FileSystemLoader('templates'))
template = env.get_template('email.html')
Expand Down

0 comments on commit 8dc26e4

Please sign in to comment.