From 6c66f5e3541144f0d25fc3c7090a4335e65cfb89 Mon Sep 17 00:00:00 2001
From: Quentin Codelupi <quentin.codelupi@cern.ch>
Date: Thu, 1 Aug 2019 18:05:44 +0200
Subject: [PATCH] [update] routine pull all known devices

---
 routine_pull.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/routine_pull.py b/routine_pull.py
index 4aa69ff..0c32692 100644
--- a/routine_pull.py
+++ b/routine_pull.py
@@ -71,7 +71,7 @@ def routine_pull(_start_fill=None, _end_fill=None):
         last_fll_pulled = _start_fill - 1
 
     # Select only the first 6 devices Cause: not all device works properly with NXCALS yet
-    gcursor.execute('select name from Device limit 6')
+    gcursor.execute('select name from Device')
     devices_request = gcursor.fetchall()
     devices = []
     for device in devices_request:
@@ -80,7 +80,7 @@ def routine_pull(_start_fill=None, _end_fill=None):
     gcursor.close()
     mydb.close()
 
-    fill_number = 7472
+    fill_number = 7492
     fill_infos = ldb.getLHCFillData(fill_number, False)
     start_pull(fill_infos, devices)
 
-- 
GitLab