Skip to content

Commit 3d3b2ce

Browse files
Update tind_client/client.py
Co-authored-by: maría a. matienzo <73732+anarchivist@users.noreply.github.com>
1 parent 134811c commit 3d3b2ce

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

tind_client/client.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -186,8 +186,6 @@ def write_search_results_to_file(
186186
:param str output_file_name: filename for the output XML file.
187187
:returns int: The number of records written to the file.
188188
"""
189-
if not output_file_name.endswith(".xml"):
190-
raise ValueError("output_file_name must be a string ending with .xml")
191189

192190
total_hits = len(self.fetch_ids_search(query))
193191
if total_hits == 0:

0 commit comments

Comments
 (0)