Merge branch 'master' into i18n

This commit is contained in:
blitzmann
2020-07-05 14:10:04 -04:00
5 changed files with 91 additions and 4 deletions

View File

@@ -72,7 +72,7 @@ def exportESI(ofit, exportCharges, callback):
# 2017/03/29 NOTE: "<" or "&lt;" is Ignored
# fit['description'] = "<pyfa:%d />" % ofit.ID
fit['description'] = ofit.notes[:397] + '...' if len(ofit.notes) > 400 else ofit.notes if ofit.notes is not None else ""
fit['description'] = "" if ofit.notes is None else ofit.notes[:397] + '...' if len(ofit.notes) > 400 else ofit.notes
fit['items'] = []
slotNum = {}