reason = tidup.reason(row["reason"]) if row["reason"] != None and row["reason"] != "" else None
elif "comment" in row:
reason = tidup.reason(row["comment"]) if row["comment"] != None and row["comment"] != "" else None
+ elif "Comment" in row:
+ reason = tidup.reason(row["Comment"]) if row["Comment"] != None and row["Comment"] != "" else None
else:
logger.debug("row='%s' has no reason/comment key provided", row)