error in tag handling
This commit is contained in:
parent
0d14c30f7d
commit
6e930ae0a0
1 changed files with 1 additions and 1 deletions
|
@ -162,7 +162,7 @@ parseTags :: B.ByteString -> [T.Text]
|
||||||
parseTags bs = map handle' inner
|
parseTags bs = map handle' inner
|
||||||
where
|
where
|
||||||
inner = T.splitOn "," $ T.pack $ B.unpack $ B.init $ B.tail bs
|
inner = T.splitOn "," $ T.pack $ B.unpack $ B.init $ B.tail bs
|
||||||
handle' = T.dropEnd 2 . T.drop 3
|
handle' = T.dropEnd 1 . T.drop 2
|
||||||
|
|
||||||
bToT :: B.ByteString -> T.Text
|
bToT :: B.ByteString -> T.Text
|
||||||
bToT = T.pack . B.unpack
|
bToT = T.pack . B.unpack
|
||||||
|
|
Loading…
Reference in a new issue