diff --git a/src/akamai_cache_buster/bustCache.py b/src/akamai_cache_buster/bustCache.py index 4d7ed68..f150281 100644 --- a/src/akamai_cache_buster/bustCache.py +++ b/src/akamai_cache_buster/bustCache.py @@ -57,8 +57,9 @@ def createMetadata(paths, releases, appName): if (prefix == None): prefix = '' - splitPrefix f"apps" - metadata += f'\n' + splitPrefix = f"apps" + prefix += "/" + metadata += f'\n' metadata += 'now' metadata += '' for path in paths: @@ -100,7 +101,7 @@ def main(): initEdgeGridAuth() #get the data to use for cache busting - paths + paths = [] try: paths = getYMLFromUrl("https://console.redhat.com/config/main.yml").get(appName).get("frontend").get("paths") except: