* src/Exporter.py (native_export): Use real export.
* src/WriteGrdb.py (exportData): Provide default cl value. svn: r4081
This commit is contained in:
parent
1a44b71e26
commit
6eb7518698
@ -8,6 +8,9 @@
|
||||
* configure.in: Bump up the version.
|
||||
* src/docgen/PdfDoc.py (write_note): Attempt latin1 encoding.
|
||||
|
||||
* src/Exporter.py (native_export): Use real export.
|
||||
* src/WriteGrdb.py (exportData): Provide default cl value.
|
||||
|
||||
2005-02-21 Don Allingham <dallingham@users.sourceforge.net>
|
||||
* Release: Version 1.1.90 "Successful encyclopedia salesman" released.
|
||||
|
||||
|
@ -367,7 +367,8 @@ class Exporter:
|
||||
options may be added.
|
||||
"""
|
||||
try:
|
||||
shutil.copyfile(database.get_save_path(),filename)
|
||||
import WriteGrdb
|
||||
WriteGrdb.exportData(database,filename,person)
|
||||
return 1
|
||||
except IOError, msg:
|
||||
QuestionDialog.ErrorDialog( _("Could not write file: %s") % filename,
|
||||
|
@ -43,7 +43,7 @@ from QuestionDialog import ErrorDialog
|
||||
# Importing data into the currently open database.
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
def exportData(database, filename, person=None, callback=None):
|
||||
def exportData(database, filename, person=None, callback=None, cl=False):
|
||||
|
||||
filename = os.path.normpath(filename)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user