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

Small bug in wrapper.py line 124 #171

Closed
gioxc88 opened this issue Jan 18, 2021 · 1 comment · Fixed by #172
Closed

Small bug in wrapper.py line 124 #171

gioxc88 opened this issue Jan 18, 2021 · 1 comment · Fixed by #172

Comments

@gioxc88
Copy link

gioxc88 commented Jan 18, 2021

 return {
            k: v
            for k, v in self.__dict__.items()
            if (len(k) > 1 and k[-1] == "_" and [-2] != "_" and k[0] != "_")
        }

should be

if (len(k) > 1 and k[-1] == "_" and k[-2] != "_" and k[0] != "_")

Cheers

@adriangb
Copy link
Owner

Great catch! Thank you for reporting it.

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 a pull request may close this issue.

2 participants