Skip to content

formatArrayToString is needlessly large #5

@ProcStack

Description

@ProcStack

formatArrayToString - Convert nested arrays of dicts and lists into human readable output.
Located in - includes/local_guiWidgets.py

formatArrayToString checks for List or Array in an if statement, doing VERY similar things in each if.
Could be solved my setting a key array and running the original array through an enumerate for loop instead of for in

Should reduce size of formatArrayToString in half.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions