From 54d52384ad94876d77f6b09fa407807634355399 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Rapinat?= Date: Tue, 3 Apr 2012 08:45:49 +0000 Subject: [PATCH] 5654#c23595, #5193: should not try to copy a style sheet if 'No style sheet' value is set svn: r19206 --- 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 9fb359a89..4981641df 100644 --- a/src/plugins/webreport/WebCal.py +++ b/src/plugins/webreport/WebCal.py @@ -324,7 +324,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")