Applied patch from Frederic Peters for bug https://bugs.launchpad.net/appy/+bug/485815 and another bugfix.
This commit is contained in:
parent
1227f0ed5e
commit
3a7b5be03b
6 changed files with 78 additions and 24 deletions
|
@ -7,7 +7,17 @@ appyPath = os.path.realpath(os.path.dirname(appy.__file__))
|
|||
mimeTypes = {'odt': 'application/vnd.oasis.opendocument.text',
|
||||
'doc': 'application/msword',
|
||||
'rtf': 'text/rtf',
|
||||
'pdf': 'application/pdf'}
|
||||
'pdf': 'application/pdf'
|
||||
}
|
||||
mimeTypesExts = {
|
||||
'application/vnd.oasis.opendocument.text': 'odt',
|
||||
'application/msword' : 'doc',
|
||||
'text/rtf' : 'rtf',
|
||||
'application/pdf' : 'pdf',
|
||||
'image/png' : 'png',
|
||||
'image/jpeg' : 'jpg',
|
||||
'image/gif' : 'gif'
|
||||
}
|
||||
|
||||
# ------------------------------------------------------------------------------
|
||||
class UnmarshalledObject:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue