From 5f36f3b028f8382d307f2a749c9034465a9b394f Mon Sep 17 00:00:00 2001 From: Z1ni Date: Sun, 8 Oct 2023 19:02:37 +0300 Subject: [PATCH] Skip creating zips for empty containers --- main.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/main.py b/main.py index c1ad676..0d558c6 100644 --- a/main.py +++ b/main.py @@ -408,6 +408,8 @@ def main(): # Get save file paths save_paths = get_save_paths(store_pkg_name, containers, temp_dir) + if len(save_paths) == 0: + continue print(f" Save files for user {xbox_username_or_id}:") for file_name, _ in save_paths: print(f" - {file_name}")