View Single Post
Moderator | Posts: 6,215 | Thanked: 6,400 times | Joined on Nov 2011
#67
Hi am I the only one with the following error in the latest version?

Code:
# python /opt/meegoal/meegoal_lpm_backend.py
Traceback (most recent call last):
  File "/opt/meegoal/meegoal_lpm_backend.py", line 45, in <module>
    matchday, _, time = calc_actual_matchday(data,now)
  File "/opt/meegoal/meegoal_lpm_backend.py", line 25, in calc_actual_matchday
    return min(timedeltas, key=lambda x:x[1])
ValueError: min() arg is an empty sequence
I modified the backend to reflect Manchester United as the team instead of Bayer L.

Or is the script meant to only run during the match?

Thanks!

Last edited by thedead1440; 2012-11-03 at 08:25.
 

The Following User Says Thank You to thedead1440 For This Useful Post: