Skip to content

Commit

Permalink
fix logic error
Browse files Browse the repository at this point in the history
  • Loading branch information
Sandip117 committed Dec 12, 2024
1 parent b622644 commit a6d35c0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions reg_chxr.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
logger.remove()
logger.add(sys.stderr, format=logger_format)

__version__ = '1.0.4'
__version__ = '1.0.5'

DISPLAY_TITLE = r"""
_ _
Expand Down Expand Up @@ -118,7 +118,7 @@ def main(options: Namespace, inputdir: Path, outputdir: Path):
poll_count = 0
total_polls = 10
wait_poll = 2
while registered_file_count < 0 and poll_count <= total_polls:
while registered_file_count < 1 and poll_count <= total_polls:
poll_count += 1
time.sleep(wait_poll)
registered_file_count = cube_cl.get_pacs_registered(pacs_search_params)
Expand Down

0 comments on commit a6d35c0

Please sign in to comment.