Skip to content

Commit d239284

Browse files
author
Dirk Petersen (aider)
committed
fix: fix undefined variable references in ConfigManager and NIHReporter
1 parent 449954b commit d239284

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Diff for: froster/froster.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -918,7 +918,7 @@ def get_credential(self, aws_profile, key_name):
918918

919919
# Get the access key from the config file
920920
key = config.get(
921-
credentials_profile, key_name, fallback=None)
921+
aws_profile, key_name, fallback=None)
922922

923923
else:
924924
# AWS credentials file does not exists
@@ -6433,7 +6433,6 @@ def search_full(self, searchstr):
64336433
def search_one(self, criteria, header=False):
64346434
'''Search NIH Reporter for metadata using a criteria'''
64356435
try:
6436-
searchstr = self._clean_string(searchstr)
64376436
self._post_request(criteria)
64386437
return self._result_sets(header)
64396438

0 commit comments

Comments
 (0)