From 439e888d9e785d67ff808ad5d846c76889e546c2 Mon Sep 17 00:00:00 2001 From: sirferl Date: Tue, 24 Nov 2020 12:59:42 +0100 Subject: [PATCH] lint errors --- lemur/common/utils.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lemur/common/utils.py b/lemur/common/utils.py index 5d27fa63..7c8a14aa 100644 --- a/lemur/common/utils.py +++ b/lemur/common/utils.py @@ -34,11 +34,13 @@ paginated_parser.add_argument("sortBy", type=str, dest="sort_by", location="args paginated_parser.add_argument("filter", type=str, location="args") paginated_parser.add_argument("owner", type=str, location="args") + def base64encode(string): # Performs Base64 encoding of string to string using the base64.b64encode() function # which encodes bytes to bytes. return base64.b64encode(string.encode()).decode() + def get_psuedo_random_string(): """ Create a random and strongish challenge.