This commit is contained in:
Jamie Hardt
2024-11-23 21:02:40 -08:00
parent 77ce1e3bc0
commit 29ca62b970

View File

@@ -2,7 +2,8 @@ from . import WavInfoReader
import datetime import datetime
from optparse import OptionParser from optparse import OptionParser
import sys, os import sys
import os
import json import json
from enum import Enum from enum import Enum
import importlib.metadata import importlib.metadata
@@ -86,7 +87,7 @@ def main():
'run_date': datetime.datetime.now().isoformat(), 'run_date': datetime.datetime.now().isoformat(),
'application': f"wavinfo {version}", 'application': f"wavinfo {version}",
'scopes': {} 'scopes': {}
} }
for scope, name, value in this_file.walk(): for scope, name, value in this_file.walk():
if scope not in ret_dict['scopes'].keys(): if scope not in ret_dict['scopes'].keys():
ret_dict['scopes'][scope] = {} ret_dict['scopes'][scope] = {}