From 6f886ec485874cf9e16a471c8558bf89365ba8a7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Rapinat?= Date: Tue, 3 Apr 2012 08:47:08 +0000 Subject: [PATCH] 5654#c23595, #5193: should not try to copy a style sheet if 'No style sheet' value is set svn: r19207 --- src/plugins/webreport/WebCal.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/webreport/WebCal.py b/src/plugins/webreport/WebCal.py index 2113ead58..e26d46753 100644 --- a/src/plugins/webreport/WebCal.py +++ b/src/plugins/webreport/WebCal.py @@ -312,7 +312,7 @@ class WebCalReport(Report): Copies all the necessary stylesheets and images for these calendars """ # Copy the screen stylesheet - if self.css: + if self.css and self.css != 'No style sheet': fname = CSS[self.css]["filename"] self.copy_file(fname, _CALENDARSCREEN, "styles")