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

whoshould breaking production #20

Open
jeffreyxchan opened this issue Dec 1, 2017 · 0 comments
Open

whoshould breaking production #20

jeffreyxchan opened this issue Dec 1, 2017 · 0 comments
Labels

Comments

@jeffreyxchan
Copy link
Member

Steps to replicate issue

  1. Run Peterman Bot
  2. Message bot whoshould

I tested this issue on Friday 12/1/17 at 1:48PM PST

Actual Behavior
Does not respond. Console prints out this trace:

Traceback (most recent call last):
  File "main.py", line 52, in <module>
    main()
  File "main.py", line 40, in main
    message = command.action()
  File "/home/pi/Peterman-Bot/commands/whoshould/whoshould.py", line 32, in action
    officers = data[hoursSinceEight + 1][dayOfTheWeek + 1]
IndexError: list index out of range

Expected Behavior
Should print people signed up for the hour correctly

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant