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

Fixing TypeError in file_selector.py #756

Merged
merged 3 commits into from
Oct 4, 2023

Commits on Oct 3, 2023

  1. Fix TypeError in file_selector.py

    Updated file_selector.py to handle WindowsPath objects by converting them to strings before joining. This resolves the TypeError encountered when trying to join WindowsPath objects directly.
    Ruijian-Zha committed Oct 3, 2023
    Configuration menu
    Copy the full SHA
    dfc8c61 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #1 from Ruijian-Zha/fix-typeerror-bug

    Fix TypeError in file_selector.py
    Ruijian-Zha committed Oct 3, 2023
    Configuration menu
    Copy the full SHA
    d3edfa7 View commit details
    Browse the repository at this point in the history
  3. Fixing TypeError in file_selector.py

    In the gpt-engineer project, a TypeError was encountered in file_selector.py when attempting to join WindowsPath objects directly. The error occurred as the code expected a string instance, but received a WindowsPath instance instead. To rectify this, the line of code was updated to convert WindowsPath objects to strings before joining. This change resolves the TypeError while maintaining the original functionality of the code, ensuring that the program can handle file paths correctly across different operating systems.
    Ruijian-Zha committed Oct 3, 2023
    Configuration menu
    Copy the full SHA
    2f8e762 View commit details
    Browse the repository at this point in the history