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

Change code detecting initial # so works with both python2 & 3 #1

Merged
merged 1 commit into from
Jun 21, 2018

Conversation

lawriebrown
Copy link
Contributor

I'm suggesting a change to use the startswith() method to detect the initial # char on commented lines, as this works with both python 2 & 3 (which I wanted for the project I'm using this in). Thanks for the code, has been useful.

@dagnelies dagnelies merged commit b8e5e33 into dagnelies:master Jun 21, 2018
@dagnelies
Copy link
Owner

thanks for the contribution

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.

2 participants