From f8d03bbd5c4a126a04e8ecfcff87e37312c40e11 Mon Sep 17 00:00:00 2001 From: ribes Date: Thu, 8 Nov 2007 10:36:05 +0000 Subject: [PATCH] - Patch if there is no gui modules --- bin/appli_gen.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bin/appli_gen.py b/bin/appli_gen.py index 6d70fe939..89e30a94e 100644 --- a/bin/appli_gen.py +++ b/bin/appli_gen.py @@ -215,7 +215,8 @@ def install(prefix,config_file): f.write(module) f.write(',') pass - f.write(_config["guimodules"][-1]) + if len(_config["guimodules"]) > 0: + f.write(_config["guimodules"][-1]) f.write('"/>') command=""" -- 2.39.2