aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNaglis Jonaitis <njonaitis@gmail.com>2014-10-27 18:49:48 +0200
committerNaglis Jonaitis <njonaitis@gmail.com>2014-10-27 18:49:48 +0200
commitaaa399d2f6cf8efff6e63f05be947c6ee4de4d34 (patch)
tree12f76e47a3792c9b841b1994f0d65d99b7713b02
parentb2e6a1c14c142eab299266641a72101f7d679443 (diff)
[sphinx] Fix version import
-rw-r--r--docs/conf.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/conf.py b/docs/conf.py
index 4a04ad779..594ca61a6 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -44,8 +44,8 @@ copyright = u'2014, Ricardo Garcia Gonzalez'
# built documents.
#
# The short X.Y version.
-import youtube_dl
-version = youtube_dl.__version__
+from youtube_dl.version import __version__
+version = __version__
# The full version, including alpha/beta/rc tags.
release = version