From 47ffcf9bec9960309e7afeb32940293dbda40923 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Rapinat?= Date: Tue, 3 Apr 2012 08:48:22 +0000 Subject: [PATCH] 5654#c23595, #5193: should not try to copy a style sheet if 'No style sheet' value is set svn: r19208 --- 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 dd1c3bbcd..fc65654f5 100644 --- a/src/plugins/webreport/WebCal.py +++ b/src/plugins/webreport/WebCal.py @@ -313,7 +313,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, "css")