Skip to content

Error at each workbench change #11

@0penBrain

Description

@0penBrain

index = paramGet.GetGroup("Global shortcuts").GetString("IndexList")

Each time I change workbench, I see this error :

Traceback (most recent call last):
  File "<string>", line 739, in applyShortcuts
  File "<string>", line 245, in globalShortcuts
ValueError: Empty group name

This is due to 'IndexList' being empty, thus it's returned as '' (empty string) -- that just after is transformed in a list containing a single value equal to empty string due to split.
I guess it could be good after the mentioned line to check if index is an empty string and immediately return if it's the case.

This said, I don't know how this arised.

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