Skip to content

Continue, not return #65

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: base-sha/408bc2d84149673cdfcac27d9b2634389ec88145
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion ttt.py
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,7 @@ def main():
if not jsonlist:
print("Empty queue. Sleep 5 seconds and check again.")
time.sleep(5)
return

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

suggestion (code_refinement): Consider the implications of changing 'return' to 'continue' in the loop.

Changing from 'return' to 'continue' will cause the loop to proceed to the next iteration rather than exiting the function. Ensure that this change does not lead to unintended behavior or infinite loops, especially if 'jsonlist' is not updated within the loop.

Suggested change
return
continue

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this comment correct?

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this comment helpful?

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is the comment type correct?

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is the comment area correct?

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this comment become an LLM test?

continue

for jsonfile in jsonlist:
# Ok, let's grab the first json and pull it out and then the matching wav file
Expand Down