Skip to content
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

Fix a bugin create_random_data #2027

Merged
merged 1 commit into from May 24, 2023

Commits on May 18, 2023

  1. Fix a bugin create_random_data

    It was possible for the date_generator to error with "ValueError: empty range for randrange()". For a leap year the
    chance was approximately 1 in 12*88 although this changes with date.
    This happened when the start date integer entered into random.randint
    was after the end date integer.
    
    This change makes that chance impossible.
    fredkingham committed May 18, 2023
    Configuration menu
    Copy the full SHA
    1849f01 View commit details
    Browse the repository at this point in the history