This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
# Automatically set the __all__ variable with all | |
# the available plugins. | |
plugin_dir = "plugins" | |
__all__ = [] | |
for filename in os.listdir(plugin_dir): | |
filename = plugin_dir + "/" + filename |