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 for fix missing main render #463

Merged
merged 3 commits into from
Dec 16, 2024
Merged

fix for fix missing main render #463

merged 3 commits into from
Dec 16, 2024

Conversation

sonar98
Copy link
Contributor

@sonar98 sonar98 commented Dec 16, 2024

With pr #456 the main image render is replaced with exterior_front if unavailable.
Problem is that exterior_front is not available for all vehicles.

If exterior_front is unavailable now exterior_side is used

add check for exterior_front, if unavailable use exterior_side
add check if exterior_front is available, else use exterior_side
Copy link
Contributor

@WebSpider WebSpider left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for your help on this!

Please have a look at the failed tests, probably running ruff format on your repo will fix them :)

@WebSpider WebSpider added the bugfix This PR contains a bugfix label Dec 16, 2024
@sonar98
Copy link
Contributor Author

sonar98 commented Dec 16, 2024

I think it is fixed now.

@sonar98 sonar98 requested a review from WebSpider December 16, 2024 18:34
Copy link
Contributor

@WebSpider WebSpider left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It works for now. This probably will be reformatted in the future to make it more readable, but this returns the function

@WebSpider WebSpider merged commit 3f84b0c into skodaconnect:main Dec 16, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bugfix This PR contains a bugfix
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants