Skip to content

fix config file #4192

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

fix config file #4192

wants to merge 1 commit into from

Conversation

PetarSPal
Copy link

#4184

Overview: What does this pull request change?

Motivation and Explanation: Why and how do your changes improve the library?

Links to added or changed documentation pages

Further Information and Comments

Reviewer Checklist

  • The PR title is descriptive enough for the changelog, and the PR is labeled correctly
  • If applicable: newly added non-private functions and classes have a docstring including a short summary and a PARAMETERS section
  • If applicable: newly added functions and classes are tested

Copy link

@Vanshanium Vanshanium left a comment

Choose a reason for hiding this comment

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

The Piece of code you have deleted use to ask users to input the frame rate, resolution etc. Due to which only 1080x1920 is being set as the default. So, it fixes the issue but its making it less useful, and with this CFG_DEFAULTS dictionary and this Update_cfg on line 62 is completely redundant now.
The simplest way to resolve this might be done by just swaping the the resolution at line 32.
Third

@PetarSPal
Copy link
Author

The problem I saw and tried to address is that the removed code was reimplementing make_config_parser.

I don't think it would be an issue to add back the prompting, I'll check and get back.

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

Successfully merging this pull request may close these issues.

2 participants