Skip to content

Issue with running Convert_Json.py #2

@jesmitty

Description

@jesmitty

I get the following error:
Traceback (most recent call last):
File "C:\data\USPTO\convert-json.py", line 50, in
converter = Convert_Json(fn, title)
^^^^^^^^^^^^^^^^^^^^^^^
File "C:\data\USPTO\convert-json.py", line 10, in init
self.mddata = self.format_json_to_md()
^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\data\USPTO\convert-json.py", line 25, in format_json_to_md
for header, data in dct.items():
^^^^^^^^^
AttributeError: 'list' object has no attribute 'items'

Is this a python version issue. I am running 3.12.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions