summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRené 'Necoro' Neumann <necoro@necoro.net>2009-08-13 13:32:02 +0200
committerRené 'Necoro' Neumann <necoro@necoro.net>2009-08-13 13:32:02 +0200
commitfba4f1e38e81789b08d7c6fb5c61c1aabe4b769e (patch)
tree4dd5860deb2d211ab822ac32a70638ae13626a07
parenta4bad326bc4032ff257f964df6d86681654c1259 (diff)
downloadportato-fba4f1e38e81789b08d7c6fb5c61c1aabe4b769e.tar.gz
portato-fba4f1e38e81789b08d7c6fb5c61c1aabe4b769e.tar.bz2
portato-fba4f1e38e81789b08d7c6fb5c61c1aabe4b769e.zip
Make 'helper' available for the plugins
Diffstat (limited to '')
-rw-r--r--portato/plugin.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/portato/plugin.py b/portato/plugin.py
index 23f382a..052dcd0 100644
--- a/portato/plugin.py
+++ b/portato/plugin.py
@@ -23,6 +23,7 @@ import traceback
from collections import defaultdict
from functools import wraps
+from . import helper
from .helper import debug, warning, info, error
from .constants import PLUGIN_DIR
from .backend import system
@@ -435,6 +436,7 @@ class PluginQueue (object):
plugin_module.__builtins__["Plugin"] = Plugin
plugin_module.__builtins__["WidgetPlugin"] = WidgetPlugin
plugin_module.__builtins__["register"] = register
+ plugin_module.__builtins__["helper"] = helper
plugin_module.__builtins__["PluginLoadException"] = PluginLoadException
for p in plugins: # import them