diff --git a/bin/pandora_client b/bin/pandora_client index 1a9535f..d6ed302 100755 --- a/bin/pandora_client +++ b/bin/pandora_client @@ -68,6 +68,6 @@ for more information visit https://wiki.0x2620.org/wiki/pandora_client''' % ', ' }, f, indent=2) pandora_client.DEBUG = opts.debug c = pandora_client.Client(opts.config, offline) - args = [a.decode('utf-8') if isinstance(a, str) else a for a in args[1:]] + args = [a.decode('utf-8') if isinstance(a, bytes) else a for a in args[1:]] getattr(c, action)(args)