Merge branch 'issue2209'

This commit is contained in:
blitzmann
2020-06-26 23:30:40 -04:00

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 = {}