5734: have one style file for dual-named reports
svn: r19948
This commit is contained in:
parent
e73eec36aa
commit
3e9cc045eb
@ -657,7 +657,9 @@ class OptionHandler(_options.OptionHandler):
|
||||
|
||||
def get_stylesheet_savefile(self):
|
||||
"""Where to save user defined styles for this report."""
|
||||
filename = "%s.xml" % self.module_name
|
||||
# Get the first part of name, if it contains a comma:
|
||||
# (will just be module_name, if no comma)
|
||||
filename = "%s.xml" % self.module_name.split(",")[0]
|
||||
return os.path.join(HOME_DIR, filename)
|
||||
|
||||
def get_default_stylesheet_name(self):
|
||||
|
Loading…
Reference in New Issue
Block a user