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}