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 for Python2 #22

Open
wants to merge 7 commits into
base: master
Choose a base branch
from
Open

Conversation

guillermogf
Copy link

It really solves the issue that you tried to fix with last commit as the fallback argument is not present in Python2 (tested in 2.7.3 installed from stable repositories), as it was said in bug #13

As I am not very experienced in programming I'd like you to have a look at the work around I've used to resemble the fallback argument. What I tried to do there is to try to read the config and if it fails (because it isn't present or it is properly written) it keeps the defaults that are set at the beginning of the script.

I think I've made a bit of an unnecessary mess at the beginning because I didn't keep the finally clause, but it's just because I wrote this before your last commit was published :/ If you prefer it that way I can leave it as it was.

@guillermogf
Copy link
Author

I'm sorry, I didn't do those commits on the master branch on purpose. I think it is now as it was in the beginning.

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.

1 participant