diff --git a/test/weercd.py b/test/weercd.py index c4837b569..a1abe5e9c 100755 --- a/test/weercd.py +++ b/test/weercd.py @@ -52,8 +52,8 @@ import sys, socket, select, time, random, string -NAME = 'weercd' -VERSION = '0.1' +NAME = 'weercd' +VERSION = '0.2' options = { 'host' : ['', 'Host for socket bind'], @@ -113,7 +113,7 @@ def readconfig(filename): try: lines = open(filename, 'rb').readlines() for line in lines: - setoption(line) + setoption(str(line.decode('utf-8'))) except: pass