From e240454a71f06e86ef7ce5295afef2267b3d677b Mon Sep 17 00:00:00 2001 From: Oleksii Shevchuk Date: Tue, 25 Sep 2018 21:36:35 +0300 Subject: [PATCH] Support unicode search for creds --- pupy/commands/creds.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pupy/commands/creds.py b/pupy/commands/creds.py index ad859bea..661e170c 100644 --- a/pupy/commands/creds.py +++ b/pupy/commands/creds.py @@ -43,7 +43,7 @@ def do(server, handler, config, modargs): categories = {} try: - for item in credentials.display(search=modargs.search, isSorted=modargs.sort): + for item in credentials.display(search=modargs.search.decode('utf-8'), isSorted=modargs.sort): if item['category'] not in categories: categories[item['category']] = { 'credtype': item.get('credtype'),