From eaefde5b6ba2f79886537ee8f237d5dae4550ed7 Mon Sep 17 00:00:00 2001 From: Mark Do Date: Thu, 13 Jun 2024 13:35:42 +0000 Subject: [PATCH] fixed no uri issue --- src/main.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/main.py b/src/main.py index 804933e..d99d8c5 100644 --- a/src/main.py +++ b/src/main.py @@ -107,6 +107,10 @@ def compare_s3_to_repo(): to_perm = [] to_temp = [] + # No changes just exit + if repo_uris == None: + return [], [] + # Files to add to perm storage for repo_uri in repo_uris: if (repo_uri not in perm_s3_uris) and (repo_uri in temp_s3_uris):