~williamvds/taskwarrior-android-cli

dbea30e70d6d33d0fb22cbdbfcf073a6d04921cd — Konstantin Vorobyev 6 years ago 6da9c52 android
Fix annoying 'aiting' status bug:

- https://bitbucket.org/kvorobyev/taskwarriorandroid/issues/7/sync-failed-the-status-aitin-is-not-valid
- Most likely reason is Mirakel, used in the past
1 files changed, 1 insertions(+), 0 deletions(-)

M src/Task.cpp
M src/Task.cpp => src/Task.cpp +1 -0
@@ 147,6 147,7 @@ Task::status Task::textToStatus (const std::string& input)
  else if (input[0] == 'd') return Task::deleted;
  else if (input[0] == 'r') return Task::recurring;
  else if (input[0] == 'w') return Task::waiting;
  else if (input[0] == 'a') return Task::waiting; // It's back! Fixes 'aitin' status parse error

  throw format (STRING_ERROR_BAD_STATUS, input);
}