Skip to content

Commit 9e61fdf

Browse files
authored
Merge pull request #201 from asherpasha/dev
Minor bug.
2 parents 811621b + f6fb31a commit 9e61fdf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

api/resources/efp_image.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ def get(self, species=""):
160160

161161
for file in data_files:
162162
if file.endswith(".xml") and file != "efp_info.xml":
163-
results.append(file.rstrip(".xml"))
163+
results.append(file.replace(".xml", ""))
164164

165165
return BARUtils.success_exit(results)
166166
else:

0 commit comments

Comments
 (0)