From 1f4743972734f4979f88b58cf47e8e67b3f3a225 Mon Sep 17 00:00:00 2001 From: Pavel Kulyov Date: Tue, 6 Mar 2018 23:20:57 +0300 Subject: [PATCH] utils: fix wrong exception type Signed-off-by: Pavel Kulyov --- xoinvader/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xoinvader/utils.py b/xoinvader/utils.py index d3730c2..9117d7a 100644 --- a/xoinvader/utils.py +++ b/xoinvader/utils.py @@ -6,7 +6,7 @@ import time try: time.perf_counter -except ImportError: +except AttributeError: time.perf_counter = time.time