]> gitweb.fluxo.info Git - awesompd.git/commitdiff
Remove redundant debug printouts
authorAlexander Yakushev <yakushev.alex@gmail.com>
Sun, 23 Oct 2011 13:12:03 +0000 (16:12 +0300)
committerAlexander Yakushev <yakushev.alex@gmail.com>
Sun, 23 Oct 2011 13:12:03 +0000 (16:12 +0300)
jamendo.lua

index 57eccb53da45fb707619c323a482a63cd90450a9..750aa5d4f7bf7dd759b4526b74c51f0636024b8e 100644 (file)
@@ -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)