From 19da1033735296b952b4f549addb9f5302f286ac Mon Sep 17 00:00:00 2001
From: Jan Reher <jreher@ep1.rub.de>
Date: Tue, 31 Mar 2020 08:41:48 +0200
Subject: [PATCH] Re-enabling database connection after successful tests.

---
 apdUnitCreator.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/apdUnitCreator.cpp b/apdUnitCreator.cpp
index 3c0857d..c12cfdb 100644
--- a/apdUnitCreator.cpp
+++ b/apdUnitCreator.cpp
@@ -131,7 +131,7 @@ void loadSerialsFromFileName(string m_fileName, bool m_debug) {
         newUnit.barCode = std::to_string(barCode);
 
         std::cerr << "Found new unit with RS = " << newUnit.redSerial << ", BS = " << newUnit.blueSerial << ", CS = " << newUnit.crystalSerial << ", BC = " << newUnit.barCode << std::endl;
-        //newUnits.push_back(newUnit);
+        newUnits.push_back(newUnit);
 
         if (m_debug) cout << "Found serial: " << line << endl;
     }
-- 
GitLab