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

default waarde self.blacklist niet compatibel met configparser python 2.7 #31

Open
jorritvm opened this issue Oct 3, 2020 · 0 comments

Comments

@jorritvm
Copy link

jorritvm commented Oct 3, 2020

In een python 2.7 omgeving crasht het schrijven van de ducobox config ini file omdat self.blacklist een boolean type is , terwijl de configparser set functie op lijn 229 een string verwacht.

cfgparser.set(section, 'blacklist', self.blacklist)
vervangen door
cfgparser.set(section, 'blacklist', str(self.blacklist))
fixt dit voor python2.7

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

No branches or pull requests

1 participant