From 4832ef258bf64edee0af1582d336cb4829912b47 Mon Sep 17 00:00:00 2001 From: dhruv Date: Wed, 18 Oct 2023 23:39:16 +0530 Subject: [PATCH] changed list(element_dict.keys) to list(element_dict.keys()) --- replace.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/replace.py b/replace.py index 195c52a..288b09b 100644 --- a/replace.py +++ b/replace.py @@ -142,7 +142,7 @@ def getOptions(): userOptions['Find'] = {} userOptions['Find']['label'] = 'Find Element' userOptions['Find']['type'] = 'stringList' - userOptions['Find']['values'] = list(element_dict.keys) + userOptions['Find']['values'] = list(element_dict.keys()) userOptions['Find']['default'] = "Carbon" userOptions['Percent'] = {} @@ -153,7 +153,7 @@ def getOptions(): userOptions['Replace'] = {} userOptions['Replace']['label'] = 'Replace with' userOptions['Replace']['type'] = 'stringList' - userOptions['Replace']['values'] = list(element_dict.keys) + userOptions['Replace']['values'] = list(element_dict.keys()) userOptions['Replace']['default'] = "Carbon" opts = {'userOptions': userOptions}