From 433d2a28c81344f05852c1b268c4ead6d1e1b358 Mon Sep 17 00:00:00 2001
From: 29iduser <you@example.com>
Date: Tue, 25 Oct 2022 08:52:15 -0500
Subject: [PATCH] debug

---
 iexcode/instruments/xrays.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/iexcode/instruments/xrays.py b/iexcode/instruments/xrays.py
index f10175f..1934be5 100644
--- a/iexcode/instruments/xrays.py
+++ b/iexcode/instruments/xrays.py
@@ -359,7 +359,7 @@ def grating(grating_name):
     
         print(dateandtime())
     else: 
-        print("grating: "+grating)
+        print("grating: "+grating_name)
 
 def grating_get():
     """
-- 
GitLab