Index: CodeGenerator.py |
diff --git a/CodeGenerator.py b/CodeGenerator.py |
index 1bc95351726c9e848bbe11db2c6e837d8e7b23b9..6be153d7e6cd69ee7aa9eb699e7b5f538f28cca1 100644 |
--- a/CodeGenerator.py |
+++ b/CodeGenerator.py |
@@ -59,12 +59,15 @@ def read_config(): |
jinja_dir = arg_options.jinja_dir |
if not jinja_dir: |
raise Exception("jinja directory must be specified") |
+ jinja_dir = jinja_dir.decode('utf8') |
output_base = arg_options.output_base |
if not output_base: |
raise Exception("Base output directory must be specified") |
+ output_base = output_base.decode('utf8') |
config_file = arg_options.config |
if not config_file: |
raise Exception("Config file name must be specified") |
+ config_file = config_file.decode('utf8') |
config_base = os.path.dirname(config_file) |
config_values = arg_options.config_value |
if not config_values: |