Remove unicode

pull/205/head
Christopher Usher 4 years ago
parent 84f7ef71c1
commit 41d85b8614

@ -251,7 +251,7 @@ def update_row(ident, editor=None):
if isinstance(old_row[column], datetime.datetime): if isinstance(old_row[column], datetime.datetime):
old_row[column] = old_row[column].isoformat() old_row[column] = old_row[column].isoformat()
if new_row[column].lower().strip() != old_row[column].lower().strip(): if new_row[column].lower().strip() != old_row[column].lower().strip():
changes += u'{}: {} \u2192 {}\n'.format(column, new_row[column], old_row[column]) changes += '{}: {} => {}\n'.format(column, new_row[column], old_row[column])
if changes and not override_changes: if changes and not override_changes:
return 'Sheet columns have changed since editing has begun. Please review changes\n' + changes, 409 return 'Sheet columns have changed since editing has begun. Please review changes\n' + changes, 409

Loading…
Cancel
Save