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

Components without command crash #284

Open
cbravo135 opened this issue Mar 29, 2022 · 1 comment
Open

Components without command crash #284

cbravo135 opened this issue Mar 29, 2022 · 1 comment
Assignees
Labels
Milestone

Comments

@cbravo135
Copy link
Collaborator

Components crash if they don't initialize the command member since the default in the Component class is None.
One example of this is the MoveFile component in tools.py.
A workaround I am currently using is to change the default init of command in Component to '' instead of None.

@JeremyMcCormick
Copy link
Member

A workaround I am currently using is to change the default init of command in Component to '' instead of None.

Without looking at it in much detail, I would think that small change could just be made in master for now if it fixes the issues with crashing.

@JeremyMcCormick JeremyMcCormick added this to the 2.1.0 milestone May 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants