Index: CodeGenerator.py |
diff --git a/CodeGenerator.py b/CodeGenerator.py |
index 38cd846b1b5f0643b4890abffaa0c152263bdd54..fd2413137892038a5ec67de3b13d3b68c310c05b 100644 |
--- a/CodeGenerator.py |
+++ b/CodeGenerator.py |
@@ -65,6 +65,8 @@ def read_config(): |
raise Exception("Config file name must be specified") |
config_base = os.path.dirname(config_file) |
config_values = arg_options.config_value |
+ if not config_values: |
+ config_values = [] |
except Exception: |
# Work with python 2 and 3 http://docs.python.org/py3k/howto/pyporting.html |
exc = sys.exc_info()[1] |