Ticket #20555: patch-quodlibet_quodlibet___init__.py.diff

File patch-quodlibet_quodlibet___init__.py.diff, 584 bytes (added by neric27@…, 15 years ago)

patch #1

  • quodlibet/__init__.py

    diff --git a/quodlibet/quodlibet/__init__.py b/quodlibet/quodlibet/__init__.py
    index db398aa..b8dc667 100644
    def print_(string, frm="utf-8", prefix="", output=sys.stdout, log=None): 
    5858
    5959    quodlibet.util.logging.log(string, log)
    6060
    61     if isinstance(string, unicode):
    62         string = string.encode(ENCODING, "replace")
    63     else:
    64         string = string.decode(frm).encode(ENCODING, "replace")
    65 
    6661    if output:
    6762        if isinstance(string, unicode):
    6863            string = string.encode(ENCODING, "replace")