Ticket #20555: patch-quodlibet_quodlibet___init__.py.diff
File patch-quodlibet_quodlibet___init__.py.diff, 584 bytes (added by neric27@…, 15 years ago) |
---|
-
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): 58 58 59 59 quodlibet.util.logging.log(string, log) 60 60 61 if isinstance(string, unicode):62 string = string.encode(ENCODING, "replace")63 else:64 string = string.decode(frm).encode(ENCODING, "replace")65 66 61 if output: 67 62 if isinstance(string, unicode): 68 63 string = string.encode(ENCODING, "replace")