raw_name = key for style (set into _reportdialog.py or specific categories), report_name = translated filename; need to test output into CLI mode

svn: r19324
This commit is contained in:
Jérôme Rapinat 2012-04-14 08:54:26 +00:00
parent 2485af7689
commit 84d4d1acaf
2 changed files with 2 additions and 2 deletions

View File

@ -174,7 +174,7 @@ class DocReportDialog(ReportDialog):
ext = "" ext = ""
else: else:
spath = self.get_default_directory() spath = self.get_default_directory()
base = "%s.%s" % (self.raw_name, ext) base = "%s.%s" % (self.report_name, ext)
spath = os.path.normpath(os.path.join(spath, base)) spath = os.path.normpath(os.path.join(spath, base))
self.target_fileentry.set_filename(spath) self.target_fileentry.set_filename(spath)

View File

@ -165,7 +165,7 @@ class GraphvizReportDialog(ReportDialog):
ext = "" ext = ""
else: else:
spath = self.get_default_directory() spath = self.get_default_directory()
base = "%s%s" % (self.raw_name, ext) base = "%s%s" % (self.report_name, ext)
spath = os.path.normpath(os.path.join(spath, base)) spath = os.path.normpath(os.path.join(spath, base))
self.target_fileentry.set_filename(spath) self.target_fileentry.set_filename(spath)