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

1 - add fake sys_utils #120

Merged
merged 2 commits into from
Dec 20, 2023
Merged

1 - add fake sys_utils #120

merged 2 commits into from
Dec 20, 2023

Conversation

mrosseel
Copy link
Collaborator

Quick fix for all non-raspberry pi computers wanting to run pifinder.

@mrosseel mrosseel changed the base branch from release to main December 19, 2023 14:28
@mrosseel mrosseel requested a review from brickbots December 19, 2023 14:29
@mrosseel mrosseel changed the title add fake sys_utils 1 - add fake sys_utils Dec 20, 2023
Copy link
Owner

@brickbots brickbots left a comment

Choose a reason for hiding this comment

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

This works for now! I'm thinking the longer term play here might be to make everything in this module one 'system' class and we create a class factory that returns the right one depending on some system check. That would avoid having to do the try/except import in multiple places.

Just leaving this here for future work!

@brickbots brickbots merged commit f4e2972 into brickbots:main Dec 20, 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