summaryrefslogtreecommitdiffstats
path: root/module/api/__init__.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/api/__init__.py')
-rw-r--r--module/api/__init__.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/module/api/__init__.py b/module/api/__init__.py
index 754ed4b19..1348fd26f 100644
--- a/module/api/__init__.py
+++ b/module/api/__init__.py
@@ -1,4 +1,8 @@
__all__ = ["CoreApi", "ConfigApi", "DownloadApi", "DownloadPreparingApi", "FileApi",
"CollectorApi", "UserInteractionApi", "AccountApi", "AddonApi"]
+
# Import all components
-from .import * \ No newline at end of file
+# from .import *
+# Above does not work in py 2.5
+for name in __all__:
+ __import__(__name__ + "." + name) \ No newline at end of file