From 49e19ad695fc9c4ec57d862b948beb1e5bfc5b4e Mon Sep 17 00:00:00 2001 From: Teemu Rytilahti Date: Wed, 31 Oct 2018 12:36:42 +0100 Subject: [PATCH] Fix version check, closes #385 --- miio/click_common.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/miio/click_common.py b/miio/click_common.py index 55ddf828d..2a930cc54 100644 --- a/miio/click_common.py +++ b/miio/click_common.py @@ -6,7 +6,7 @@ import sys if sys.version_info < (3, 5): print("To use this script you need python 3.5 or newer, got %s" % - sys.version_info) + (sys.version_info,)) sys.exit(1) import click import ipaddress