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 open mode, so it works #58

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

Fix open mode, so it works #58

wants to merge 1 commit into from

Conversation

Brailliac
Copy link

Previously, the configuration file was being opened in bytes mode:

open(file, 'rb')`

This was wrong, it caused the script to crash, and throw related errors - for example:

TypeError: startswith first arg must be bytes or a tuple of bytes, not str

It is now read as a string, and the script works correctly.

@coveralls
Copy link

Coverage Status

Coverage remained the same at 94.266% when pulling 23afabb on Brailliac:master into 5c1954b on miracle2k:master.

@sidgrover21
Copy link

sidgrover21 commented Sep 13, 2021

Can someone please merge this PR as this fixes the issue mentioned above! @miracle2k ?

1 similar comment
@shumidub
Copy link

Can someone please merge this PR as this fixes the issue mentioned above! @miracle2k ?

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.

None yet

4 participants