From a222a0a4b7c7453cd9fe57d1f5845718399512c8 Mon Sep 17 00:00:00 2001 From: Dimitris Papagiannis Date: Fri, 28 Jun 2024 12:18:33 +0200 Subject: [PATCH] Fixed wrong indentation which led to incorrect logic --- bin/visDQMZipDaemon | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/bin/visDQMZipDaemon b/bin/visDQMZipDaemon index cb90191..bbc4f56 100755 --- a/bin/visDQMZipDaemon +++ b/bin/visDQMZipDaemon @@ -106,8 +106,9 @@ while True: elif os.path.exists(zinfopath): serial += 1 continue - else: - zips[zippath] = {"size": 0, "files": []} + else: + zips[zippath] = {"size": 0, "files": []} + zips[zippath]["zinfo"] = zinfo zips[zippath]["zinfofile"] = zinfopath zipsize = zips[zippath]["size"]