From: Naglis Jonaitis Date: Mon, 27 Oct 2014 16:49:48 +0000 (+0200) Subject: [sphinx] Fix version import X-Git-Url: http://git.oshgnacknak.de/?a=commitdiff_plain;h=aaa399d2f6cf8efff6e63f05be947c6ee4de4d34;p=youtube-dl [sphinx] Fix version import --- 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