From eda10752d072faec8437a785082a385384bbd150 Mon Sep 17 00:00:00 2001 From: allburov Date: Fri, 27 Sep 2024 18:46:14 +0700 Subject: [PATCH] Update artifactory_cleanup/cli.py --- artifactory_cleanup/cli.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/artifactory_cleanup/cli.py b/artifactory_cleanup/cli.py index 3634762..98edb54 100644 --- a/artifactory_cleanup/cli.py +++ b/artifactory_cleanup/cli.py @@ -168,7 +168,7 @@ def main(self): server, user, password, apikey = loader.get_connection() session = BaseUrlSession(server) - if apikey != "": + if apikey: print("Using API Key") headers = { "X-JFrog-Art-Api": apikey