Changeset 12228 for main


Ignore:
Timestamp:
14 Dec 2014, 15:08:40 (10 years ago)
Author:
Henrik Bettermann
Message:

Catch None.

  • test will follow -
File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.ikoba/trunk/src/waeup/ikoba/documents/browser.py

    r12227 r12228  
    234234
    235235    def _html_dict(self):
    236         value = getattr(self.context, 'html_multilang', '')
     236        value = getattr(self.context, 'html_multilang', None)
     237        if not value:
     238            return {}
    237239        parts = value.split('>>')
    238240        elements = {}
Note: See TracChangeset for help on using the changeset viewer.