--- a/PLCGenerator.py Thu Oct 10 17:43:11 2013 +0200
+++ b/PLCGenerator.py Fri Oct 11 08:54:50 2013 +0200
@@ -326,7 +326,7 @@
configuration.remove(extra_global_vars)
for variable in extra_variables:
- varlists[-1][1].remove(variable)
+ varlists[-1][0].remove(variable) # Generate any resource in the configuration
for resource in configuration.getresource():