From fd37ffafc49f9e139c5d4ba585f27c81ef7ead59 Mon Sep 17 00:00:00 2001 From: tmaeno Date: Wed, 21 Oct 2020 08:40:46 +0200 Subject: [PATCH] fixed to mkdir token dir for OIDC --- pandatools/PandaToolsPkgInfo.py | 2 +- pandatools/openidc_utils.py | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/pandatools/PandaToolsPkgInfo.py b/pandatools/PandaToolsPkgInfo.py index d1818c3c..56afbbbc 100644 --- a/pandatools/PandaToolsPkgInfo.py +++ b/pandatools/PandaToolsPkgInfo.py @@ -1 +1 @@ -release_version = "1.4.43" +release_version = "1.4.44" diff --git a/pandatools/openidc_utils.py b/pandatools/openidc_utils.py index a405c0ed..d4e3feb9 100644 --- a/pandatools/openidc_utils.py +++ b/pandatools/openidc_utils.py @@ -27,6 +27,8 @@ class OpenIdConnect_Utils: # constructor def __init__(self, token_dir, log_stream, verbose=False): self.token_dir = token_dir + if not os.path.exists(token_dir): + os.makedirs(token_dir) self.log_stream = log_stream self.verbose = verbose