Skip to content

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.

4 participants