From d9b559477f219dee058907340793013d097e587a Mon Sep 17 00:00:00 2001 From: deathbybandaid Date: Thu, 10 Feb 2022 13:15:05 -0500 Subject: [PATCH] test --- sopel_SpiceBot_Runtime_Commands/__init__.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sopel_SpiceBot_Runtime_Commands/__init__.py b/sopel_SpiceBot_Runtime_Commands/__init__.py index ef0a1bb..781fcee 100644 --- a/sopel_SpiceBot_Runtime_Commands/__init__.py +++ b/sopel_SpiceBot_Runtime_Commands/__init__.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python -import os import pkgutil -__all__ = list(module for _, module, _ in pkgutil.iter_modules([os.path.dirname(__file__)])) +__path__ = pkgutil.extend_path(__path__, __name__) +for imp, module, ispackage in pkgutil.walk_packages(path=__path__, prefix=__name__+'.'): + __import__(module)