diff options
author | Christopher Rosell <chrippa@tanuki.se> | 2012-08-15 19:49:54 +0200 |
---|---|---|
committer | Christopher Rosell <chrippa@tanuki.se> | 2012-08-15 19:49:54 +0200 |
commit | e8eedda5453aca95996c3d99380b1070c23f1dd9 (patch) | |
tree | cde1377ef38effe6f12ec28dfc824be6b2e07552 /src/livestreamer/__init__.py | |
parent | 0c5563f5e4e6ab8da7dfd5f5c15e7be0e3445c15 (diff) |
Add logging.
Diffstat (limited to 'src/livestreamer/__init__.py')
-rw-r--r-- | src/livestreamer/__init__.py | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/livestreamer/__init__.py b/src/livestreamer/__init__.py index 1369fe5..f8a4fa2 100644 --- a/src/livestreamer/__init__.py +++ b/src/livestreamer/__init__.py @@ -1,6 +1,5 @@ -from livestreamer import plugins -from livestreamer import stream -from livestreamer.compat import urlparse +from . import plugins, stream +from .compat import urlparse def resolve_url(url): parsed = urlparse(url) @@ -24,3 +23,7 @@ NoPluginError = plugins.NoPluginError StreamError = stream.StreamError plugins.load_plugins(plugins) + +__all__ = ["resolve_url", "get_plugins", + "PluginError", "NoStreamsError", "NoPluginError", + "StreamError"] |