--- a/PLCGenerator.py Fri Dec 23 18:40:31 2016 +0300
+++ b/PLCGenerator.py Mon Dec 26 13:49:38 2016 +0300
@@ -393,6 +393,11 @@
single = task.getsingle()
# Single argument if exists
+ msg = _("Source signal has to be defined for single task '{a1}' in resource '{a2}.{a3}'.").\ + format(a1 = task.getname(), a2 = config_name, a3 = resource.getname()) + raise PLCGenException, msg if single[0]=='[' and single[-1]==']' :