Commits

Markus Zapke-Gründemann committed c0ace66

Fabfile: Fixed file URL.

  • Participants
  • Parent commits 1bafd5c

Comments (0)

Files changed (1)

         with hide('running'):
             super(BuildHtmlTask, self).run('html', language, linkcheck)
         if openbrowser:
-            webbrowser.open(os.path.join(self.docs, '_build/html/index.html'))
+            path = os.path.join(self.docs, '_build/html/index.html')
+            webbrowser.open('file://%s' % path)
 
 
 class ServeHtmlTask(BuildHtmlTask):