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

fix plugin loading #355

Merged
merged 2 commits into from
Oct 6, 2023
Merged

fix plugin loading #355

merged 2 commits into from
Oct 6, 2023

Conversation

StefanoChiodino
Copy link
Contributor

No description provided.

SourceFileLoader(mod_name, full_file_path).load_module()
try:
module_type = SourceFileLoader(mod_name, full_file_path).load_module()
plugin_modules.append(module_type)
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@StefanoChiodino Could this be a one-liner like this:
plugin_modules.append(SourceFileLoader(mod_name, full_file_path).load_module())

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

if you try hard enough, you can fit the whole file in a single line 😂

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

And then you're writing perl ;)

@StefanoChiodino StefanoChiodino merged commit 32466d2 into master Oct 6, 2023
5 checks passed
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.

4 participants