aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xyardstick/main.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/yardstick/main.py b/yardstick/main.py
index 8f017431b..e8f6b54aa 100755
--- a/yardstick/main.py
+++ b/yardstick/main.py
@@ -97,7 +97,7 @@ def atexit_handler():
def is_ip_addr(addr):
'''check if string addr is an IP address'''
try:
- ipaddress.ip_address(addr)
+ ipaddress.ip_address(unicode(addr))
return True
except ValueError:
return False