From e71263d686f712deb9ac5d3ed737c415dec815e2 Mon Sep 17 00:00:00 2001 From: oy Date: Thu, 6 Jan 2011 12:41:24 +0100 Subject: fixed last commit --- datasrc/compile.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'datasrc/compile.py') diff --git a/datasrc/compile.py b/datasrc/compile.py index 1a726637..0cca5498 100644 --- a/datasrc/compile.py +++ b/datasrc/compile.py @@ -68,7 +68,7 @@ if gen_client_content_header or gen_server_content_header: contentlines = open("datasrc/content.py", "rb").readlines() order = [] for line in contentlines: - line = line.decode("iso8859-1").strip() + line = line.strip() if line[:6] == "class " and '(Struct)' in line: order += [line.split()[1].split("(")[0]] for name in order: -- cgit 1.4.1