--- a/E5XML/ProjectWriter.py Mon Aug 15 17:22:13 2016 +0200 +++ b/E5XML/ProjectWriter.py Wed Aug 17 12:32:58 2016 +0200 @@ -62,14 +62,14 @@ # do the language (used for spell checking) self.writeTextElement("Language", self.pdata["SPELLLANGUAGE"][0]) - if len(self.pdata["SPELLWORDS"][0]) > 0: + if self.pdata["SPELLWORDS"]: self.writeTextElement( "ProjectWordList", - Utilities.fromNativeSeparators(self.pdata["SPELLWORDS"][0])) - if len(self.pdata["SPELLEXCLUDES"][0]) > 0: + Utilities.fromNativeSeparators(self.pdata["SPELLWORDS"])) + if self.pdata["SPELLEXCLUDES"]: self.writeTextElement( "ProjectExcludeList", - Utilities.fromNativeSeparators(self.pdata["SPELLEXCLUDES"][0])) + Utilities.fromNativeSeparators(self.pdata["SPELLEXCLUDES"])) # do the hash self.writeTextElement("Hash", self.pdata["HASH"][0])