Skip to content
This repository was archived by the owner on Jan 11, 2025. It is now read-only.
This repository was archived by the owner on Jan 11, 2025. It is now read-only.

config styles parsing error #10

Description

@elig0n

happens after a fresh run
also after removing config and restarting

Traceback (most recent call last):
File "/usr/local/bin/turses", line 8, in
sys.exit(main())
File "/usr/local/lib/python3.6/dist-packages/turses/cli.py", line 146, in main
configuration.load()
File "/usr/local/lib/python3.6/dist-packages/turses/config.py", line 504, in load
self._init_config()
File "/usr/local/lib/python3.6/dist-packages/turses/config.py", line 513, in _init_config
self.parse_config_file(self.config_file)
File "/usr/local/lib/python3.6/dist-packages/turses/config.py", line 716, in parse_config_file
self._parse_styles(conf)
File "/usr/local/lib/python3.6/dist-packages/turses/config.py", line 760, in _parse_styles
conf.get(SECTION_STYLES, style), 'utf-8')
TypeError: decoding str is not supported

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