From d82c7ef81f2a4c852e23b23ded07239af6eb1e2b Mon Sep 17 00:00:00 2001 From: astanley Date: Wed, 26 Mar 2025 14:45:40 -0300 Subject: [PATCH] Improved staging --- ImportServerUtilities.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ImportServerUtilities.py b/ImportServerUtilities.py index cad34a1..76716ac 100644 --- a/ImportServerUtilities.py +++ b/ImportServerUtilities.py @@ -174,12 +174,12 @@ class ImportServerUtilities: if fw.get_state() != 'Active': continue datastreams = fw.get_datastream_types() - for datastream, in datastreams.keys(): + for datastream in datastreams.keys(): count = dsids.get(datastream) if count is not None: dsids[datastream] = count + 1 else: - datastreams[datastream] = 1 + dsids[datastream] = 1 with open("dsid.json", "w") as file: json.dump(dsids, file, indent=4)