The issue was that the evidence number didn't exist within the clients evidence list. By checking to see if the evidence exists in the client list, we can prevent it from throwing an index error if someone deletes the evidence on their end.
We set it to 0 because the evidence list for a client, when empty, contains the number 0. [0]
Fixes #101
The issue was that the evidence number didn't exist within the clients evidence list. By checking to see if the evidence exists in the client list, we can prevent it from throwing an index error if someone deletes the evidence on their end.
We set it to 0 because the evidence list for a client, when empty, contains the number 0.
[0]
Short and sweet!