[shared] Added utils::flipDict allowing to flip keys<->values of a dict. [gen] file.py: added missing i18n labels. [gen] Added css style for rendering nice tables within the message popup.

This commit is contained in:
Gaetan Delannay 2015-01-16 20:22:29 +01:00
parent ffb8bed189
commit a905aaa139
12 changed files with 114 additions and 4 deletions

View file

@ -381,7 +381,7 @@ class ImageImporter(DocImporter):
self.importPath = newImportPath
imagePath = os.path.splitext(imagePath)[0] + '.png'
self.format = 'png'
# Retrieve image size from self.size.
# Retrieve image size from self.size
width = height = None
if self.size and (self.sizeUnit != 'pc'):
width, height = self.size