aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Yakushev <yakushev.alex@gmail.com>2011-10-23 16:12:03 +0300
committerAlexander Yakushev <yakushev.alex@gmail.com>2011-10-23 16:12:03 +0300
commitf6fecc46e04b77339bfdba688a36e961c26980f3 (patch)
treec38421bd77912a75e41113e56176590424443f7a
parent25a1b198ae7ad94b020e023b8dc9bfd3e3557785 (diff)
downloadawesompd-f6fecc46e04b77339bfdba688a36e961c26980f3.tar.gz
awesompd-f6fecc46e04b77339bfdba688a36e961c26980f3.tar.bz2
Remove redundant debug printouts
-rw-r--r--jamendo.lua2
1 files changed, 0 insertions, 2 deletions
diff --git a/jamendo.lua b/jamendo.lua
index 57eccb5..750aa5d 100644
--- a/jamendo.lua
+++ b/jamendo.lua
@@ -307,12 +307,10 @@ end
-- Jamendo returns Unicode symbols as \uXXXX. Lua does not transform
-- them into symbols so we need to do it ourselves.
function utf8_codes_to_symbols (s)
--- print(utf8_codes_to_symbols, s)
local hexnums = "[%dabcdefABCDEF]"
local pattern = string.format("\\u(%s%s%s%s?%s?)",
hexnums, hexnums, hexnums, hexnums, hexnums)
local decode = function(code)
- print("Look at me! I parse " .. code)
code = tonumber(code, 16)
if code < 128 then -- one-byte symbol
return string.char(code)