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 "Import text file" function #807

Merged
merged 1 commit into from Jun 10, 2023

Commits on Jun 10, 2023

  1. Fix import_text function

    Depending on the file content type, read() returns either bytes or str,
    but decode() only works for bytes. Open the file always in textmode and
    let python handle the decoding, and catch/ignore decoding errors.
    
    Fixes puddletag#806
    corubba committed Jun 10, 2023
    Configuration menu
    Copy the full SHA
    8662f81 View commit details
    Browse the repository at this point in the history