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

Class attributes are not accessible when using GenericActor #15

Closed
rakanalh opened this issue Nov 20, 2017 · 2 comments
Closed

Class attributes are not accessible when using GenericActor #15

rakanalh opened this issue Nov 20, 2017 · 2 comments
Assignees

Comments

@rakanalh
Copy link
Contributor

rakanalh commented Nov 20, 2017

If you define:

class DoSomething(GenericActor):
    MODE_ACTION_1 = 0
    MODE_ACTION_2 = 1

And then try to use one of these attributes, an error will be raised:

AttributeError: 'Actor' object has no attribute 'ACTION_1'
@Bogdanp
Copy link
Owner

Bogdanp commented Nov 21, 2017

Thanks! This is fixed in 0.14.

@rakanalh
Copy link
Contributor Author

Cool, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants