mirror of
https://github.com/sdsykes/fastimage.git
synced 2025-12-30 00:05:02 -05:00
Use more backward compatible unpack
This commit is contained in:
parent
ba61a28d14
commit
7f6a50c6a4
@ -415,7 +415,7 @@ class FastImage
|
||||
|
||||
def fetch_using_base64(uri)
|
||||
decoded = begin
|
||||
uri.split(',')[1].unpack1("m")
|
||||
uri.split(',')[1].unpack("m").first
|
||||
rescue
|
||||
raise CannotParseImage
|
||||
end
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user