From d8a589c33f750796aeb36fa4de100a4587911643 Mon Sep 17 00:00:00 2001 From: Patrick McDonagh Date: Mon, 6 Jun 2016 20:43:30 -0500 Subject: [PATCH] Device Types not being found before accessing --- dataLogger.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dataLogger.py b/dataLogger.py index 434f0ad..313b27e 100644 --- a/dataLogger.py +++ b/dataLogger.py @@ -240,9 +240,10 @@ def evalTapers(): def main(): - global main_plc + global main_plc, device_types readConfig() + device_types = getDeviceTypes() if setupTags(): pass else: