diff --git a/tests/test_ident_map.py b/tests/test_ident_map.py
index 2ddb3db..6b29f52 100644
--- a/tests/test_ident_map.py
+++ b/tests/test_ident_map.py
@@ -1,4 +1,4 @@
-from tsstats import Clients, Client
+from tsstats import Clients
 
 ident_map = {
     '1': '2',
diff --git a/tsstats.py b/tsstats.py
index 8f5b3af..7cbef66 100755
--- a/tsstats.py
+++ b/tsstats.py
@@ -6,8 +6,6 @@ import argparse
 import datetime
 from os import sep
 import configparser
-from sys import argv
-from time import mktime
 from time import strftime, localtime
 from os.path import exists
 from jinja2 import Environment, FileSystemLoader