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

Comments

2 participants
@rakanalh
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 Bogdanp self-assigned this Nov 20, 2017

@Bogdanp Bogdanp closed this in 4ae2902 Nov 21, 2017

@Bogdanp

This comment has been minimized.

Owner

Bogdanp commented Nov 21, 2017

Thanks! This is fixed in 0.14.

@rakanalh

This comment has been minimized.

Contributor

rakanalh commented Nov 21, 2017

Cool, thanks!

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