diff --git a/lib/ctt/report.py b/lib/ctt/report.py
index 7c46bcd..17e8e61 100755
--- a/lib/ctt/report.py
+++ b/lib/ctt/report.py
@@ -30,6 +30,7 @@ import os.path
 import re
 import glob
 import collections
+import sys
 
 import ctt
 import ctt.listprojects