From 38690f6af95c13051e811c2768a8fa47ea59c934 Mon Sep 17 00:00:00 2001 From: Georg Brandl Date: Sun, 24 Feb 2008 07:59:59 +0000 Subject: [PATCH] Use a list. --- sphinx/builder.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sphinx/builder.py b/sphinx/builder.py index 866f39797..01b45fc7e 100644 --- a/sphinx/builder.py +++ b/sphinx/builder.py @@ -448,7 +448,7 @@ class StandaloneHTMLBuilder(Builder): # copy static files self.info(bold('copying static files...')) ensuredir(path.join(self.outdir, 'static')) - staticdirnames = path.join(path.dirname(__file__), 'static') + \ + staticdirnames = [path.join(path.dirname(__file__), 'static')] + \ self.config.html_static_path for staticdirname in staticdirnames: for filename in os.listdir(staticdirname):