From 95624f6f82a324636e704298c066bee01a17a363 Mon Sep 17 00:00:00 2001 From: Fredrik Unger Date: Mon, 4 Jun 2012 12:47:31 +0200 Subject: [PATCH] Adding fonts directory to resources. This is to include fonts to a site, puting the fonts in a separate directory than the css. --- treecutter/sitemap.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/treecutter/sitemap.py b/treecutter/sitemap.py index e85c690..e7a2e4b 100644 --- a/treecutter/sitemap.py +++ b/treecutter/sitemap.py @@ -108,7 +108,7 @@ class Sitemap(): def publish(self,output,style): ssh_cmd(output,"mkdir -p") publish(self._tmptarget, output) - for res in ["css","images","js","favicon.ico"]: + for res in ["css","images","js","fonts","favicon.ico"]: if (os.path.exists(style+res)): publish(style+res, output) ssh_cmd(output,"chmod a+rx") -- 2.30.2