diff --git a/parser/parser-elastic/parser_elastic.py b/parser/parser-elastic/parser_elastic.py
index 5c456cdd0078451cd120bbbc3e89804ed650e133..552cfbdd9ec5ec506df97623ad3c0bdab5d9be12 100644
--- a/parser/parser-elastic/parser_elastic.py
+++ b/parser/parser-elastic/parser_elastic.py
@@ -327,7 +327,9 @@ class SampleContext(object):
 #        my_file = Path("Energy-vs-Strain")
 #        print("ooooo",my_file.exists())
 #        print("oooooooo ", os.listdir())
-        if 'Energy-vs-Strain' in os.listdir():
+        prova = os.listdir()
+#        print("prova= ",prova)
+        if 'Energy-vs-Strain' in prova:
 #        if my_file.is_dir():
 #            print("esiste! :-)")
 #        else: