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