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

svn: r19208
This commit is contained in:
Jérôme Rapinat 2012-04-03 08:48:22 +00:00
parent ecdb51c9f7
commit 47ffcf9bec

View File

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