summaryrefslogtreecommitdiffstats
path: root/invoice/generate-invoice.py
diff options
context:
space:
mode:
Diffstat (limited to 'invoice/generate-invoice.py')
-rwxr-xr-xinvoice/generate-invoice.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/invoice/generate-invoice.py b/invoice/generate-invoice.py
index 8ed8bd1..c89e047 100755
--- a/invoice/generate-invoice.py
+++ b/invoice/generate-invoice.py
@@ -11,6 +11,10 @@ from config import *
db = DB()
+if sys.hexversion < 0x03000000:
+ print("Please use Python 3.0 or newer!")
+ sys.exit()
+
def generate_invoice_tex(user, title, subject, start=0, stop=0, temporary=False):
userinfo = db.get_user_info(user)