Skip to content

Error in image_to_color.py while using as library: Line 36 #9

@newpokemon

Description

@newpokemon

Hey Thanks for the fabulous work!

I tried and CLI is working perfectly fine. However, when tried as library in a python file, giving this error:

Traceback (most recent call last):
File "test.py", line 10, in
print(img_to_color.get(img))
File "/home/color-extractor-master/color_extractor/image_to_color.py", line 36, in get
if self._settings['debug'] is None:
KeyError: 'debug'

Non CS background so might overlook something, please help!
Thanks in advance.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions