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

svn: r19206
This commit is contained in:
Jérôme Rapinat 2012-04-03 08:45:49 +00:00
parent 64d4863755
commit 54d52384ad

View File

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