[#54] Fix bad v1 data thaw call (@jafingerhut)

This commit is contained in:
Peter Taoussanis 2014-11-10 11:17:28 +07:00
parent e006fbcbb0
commit e142063201

View file

@ -611,7 +611,7 @@
;; unlikely that this is a fluke and data is actually headerless):
(try (thaw-data data-ba compressor-id encryptor-id)
(catch Exception e
(try (thaw-nippy-v1-data)
(try (thaw-nippy-v1-data data-ba)
(catch Exception _
(if unrecognized-meta?
(ex "Unrecognized (but apparently well-formed) header. Data frozen with newer Nippy version?"