5654#c23595, #5193: should not try to copy a style sheet if 'No style sheet' value is set

svn: r19207
This commit is contained in:
Jérôme Rapinat 2012-04-03 08:47:08 +00:00
parent fc4df5b999
commit 6f886ec485

View File

@ -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")