summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lorrycontroller/confparser.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/lorrycontroller/confparser.py b/lorrycontroller/confparser.py
index 39ac2e6..4a3ec8f 100644
--- a/lorrycontroller/confparser.py
+++ b/lorrycontroller/confparser.py
@@ -119,6 +119,7 @@ class LorryControllerConfig(object):
fullname = os.path.join(entry['prefix'], name)
if self.lorries.get(fullname, None) is not None:
self._give_up("Lorry repeated: %s" % fullname)
+ content['serial'] = entry['serial']
self.lorries[fullname] = content
except Exception, e:
logging.debug("Unable to parse %s, because of %s. Moving on" %