Fix optional jinja2 import

This commit is contained in:
Dirk Alders 2025-08-06 20:08:45 +02:00
parent e3a40be1d0
commit ee108fe6fc

View File

@ -1,7 +1,10 @@
#!/usr/bin/env python #!/usr/bin/env python
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
# #
import jinja2 try:
import jinja2
except ImportError:
jinja2 = None
import optparse import optparse
import os import os
import sys import sys