aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'gkeys-gen')
-rw-r--r--gkeys-gen/gkeygen/actions.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gkeys-gen/gkeygen/actions.py b/gkeys-gen/gkeygen/actions.py
index 22b3089..e33ebb8 100644
--- a/gkeys-gen/gkeygen/actions.py
+++ b/gkeys-gen/gkeygen/actions.py
@@ -15,7 +15,7 @@ import re
import shutil
import sys
-if sys.hexversion >= 0x30200f0:
+if sys.version_info[0] >= 3:
from urllib.request import urlopen
py_input = input
_unicode = str