aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/livestreamer/__init__.py
diff options
context:
space:
mode:
authorGravatar Christopher Rosell <chrippa@tanuki.se>2012-04-21 21:57:20 +0200
committerGravatar Christopher Rosell <chrippa@tanuki.se>2012-04-21 21:57:20 +0200
commit22dd8a40c8bb9c1c7e845a47df5b84dfe2a8527e (patch)
tree2a60947960ccd89fd19ad45e992545dc8454ba8b /src/livestreamer/__init__.py
parente3b3bdf86e9e9921ce6c76e8dd587dbe0b41f33e (diff)
Added PluginError exception to make error handling nicer.
Also added a utility function to do HTTP requests.
Diffstat (limited to 'src/livestreamer/__init__.py')
-rw-r--r--src/livestreamer/__init__.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/livestreamer/__init__.py b/src/livestreamer/__init__.py
index 6a0b463..9eb2264 100644
--- a/src/livestreamer/__init__.py
+++ b/src/livestreamer/__init__.py
@@ -16,4 +16,7 @@ def resolve_url(url):
def get_plugins():
return plugins.get_plugins()
+
+PluginError = plugins.PluginError
+
plugins.load_plugins(plugins)