Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Remove length check assertion

  • Loading branch information...
commit 6109b27c8125a9ca84b24a1e2c0087e73305977f 1 parent 792a2f9
@skalnik authored
Showing with 0 additions and 1 deletion.
  1. +0 −1  API/fp.py
View
1  API/fp.py
@@ -72,7 +72,6 @@ def inflate_code_string(s):
times = [int(''.join(t), 16) for t in chunker(s[:end_timestamps], 5)]
codes = [int(''.join(t), 16) for t in chunker(s[end_timestamps:], 5)]
- assert(len(times) == len(codes)) # these should match up!
return ' '.join('%d %d' % (c, t) for c,t in zip(codes, times))
def decode_code_string(compressed_code_string):
Please sign in to comment.
Something went wrong with that request. Please try again.