From c823b402f34791dc8cbd6be4d401e795ec208b49 Mon Sep 17 00:00:00 2001 From: tmaeno Date: Mon, 13 Mar 2023 09:51:16 +0100 Subject: [PATCH] 1.5.40 --- ChangeLog.txt | 3 +++ pandaclient/PBookCore.py | 2 +- pandaclient/PandaToolsPkgInfo.py | 2 +- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/ChangeLog.txt b/ChangeLog.txt index 78a13f32..a648710b 100644 --- a/ChangeLog.txt +++ b/ChangeLog.txt @@ -1,5 +1,8 @@ ** Release Notes +1.5.40 + * fixed delete_secret with file secrets + 1.5.39 * fixed --official in pchain diff --git a/pandaclient/PBookCore.py b/pandaclient/PBookCore.py index 980b76c0..375d74cc 100644 --- a/pandaclient/PBookCore.py +++ b/pandaclient/PBookCore.py @@ -384,7 +384,7 @@ def set_secret(self, key, value, is_file=False): tmpLog = PLogger.getPandaLogger() if is_file: with open(value, 'rb') as f: - value = base64.b64encode(f.read()).encode() + value = base64.b64encode(f.read()).decode() # add prefix key = '___file___:'+format(key) size_limit = 1000 diff --git a/pandaclient/PandaToolsPkgInfo.py b/pandaclient/PandaToolsPkgInfo.py index 790c531c..8d400aae 100644 --- a/pandaclient/PandaToolsPkgInfo.py +++ b/pandaclient/PandaToolsPkgInfo.py @@ -1 +1 @@ -release_version = "1.5.39" +release_version = "1.5.40"