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

About.py: Simplify extracting date from driver a bit #3762

Merged
merged 1 commit into from
Aug 31, 2023
Merged

About.py: Simplify extracting date from driver a bit #3762

merged 1 commit into from
Aug 31, 2023

Conversation

Hains
Copy link
Member

@Hains Hains commented Aug 27, 2023

No need to limit string to 8 characters.
Sliding with [-2:-1][0] to a not nested list is equal to list[-2].

This fixes also wrong driver date with dm8000.
Date displayed as '0140-604a' before patch.

No need to limit string to 8 characters.
Sliding with [-2:-1][0] to a not nested list is equal to list[-2].

This fixes also wrong driver date with dm8000.
Date displayed as '0140-604a' before patch.
@littlesat littlesat merged commit 76bb235 into OpenPLi:develop Aug 31, 2023
1 check passed
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

Successfully merging this pull request may close these issues.

2 participants