Improve otp decoding #15

Merged
merged 3 commits into from Apr 2, 2013
Commits on Mar 20, 2013
  1. Not working on 1.6.2-dev

    Kami committed Mar 20, 2013
Commits on Mar 30, 2013
  1. If there are multiple interpretations for a given OTP, first try to f…

    Kami committed Mar 30, 2013
    …ind the one
    
    which matches the input OTP. If the one is found, use the input OTP, otherwise
    use last of the available interpretations.
    
    Reported by Klas Lindfors, part of #14.