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

Error when running weekly trophy job #122

Open
Elwdipath opened this issue Sep 13, 2022 · 3 comments
Open

Error when running weekly trophy job #122

Elwdipath opened this issue Sep 13, 2022 · 3 comments

Comments

@Elwdipath
Copy link

Describe the bug
Attribute error when running job for weekly trophies
To Reproduce

From heroku log:
'2022-09-13T11:30:02.539765+00:00 app[worker.1]: File "/app/ff_bot/ff_bot.py", line 377, in get_trophies
2022-09-13T11:30:02.539765+00:00 app[worker.1]: low_team_name = i.away_team.team_name
2022-09-13T11:30:02.539765+00:00 app[worker.1]: AttributeError: 'int' object has no attribute 'team_name''
Expected behavior
Weekly report of of scores and trophies
Screenshots
If applicable, add screenshots to help explain your problem.

Chat application
Discord
Additional context
Add any other context about the problem here

@dtcarls
Copy link
Owner

dtcarls commented Sep 13, 2022

Is your league full? Can also send me a DM in discord and we can work it out.

@Elwdipath
Copy link
Author

Ahh we have an odd number of teams.

@dtcarls
Copy link
Owner

dtcarls commented Sep 13, 2022

League has to be full due to the nature of grabbing home and away team info. I'll leave the issue open if it gets tackled.

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

No branches or pull requests

2 participants