Skip to content
This repository has been archived by the owner on Sep 20, 2024. It is now read-only.

terminal.py crash on import #839

Merged
merged 2 commits into from
Dec 18, 2020
Merged

Conversation

iLLiCiTiT
Copy link
Member

Issue

  • python module blessed crash on import when sys.__stdin__ is null (Resolve)

Changes

  • Terminal class has 2 attributes _initialized and use_colors and new static method _initialize
    • _initialize should be called only once on first call of log method and define if colored output should be used

@iLLiCiTiT iLLiCiTiT self-assigned this Dec 18, 2020
@mkolar mkolar added this to the 3.0 milestone Dec 18, 2020
@mkolar mkolar added the type: bug Something isn't working label Dec 18, 2020
@mkolar mkolar merged commit 0b556f8 into develop Dec 18, 2020
@mkolar mkolar deleted the bugfix/terminal_crash_on_import branch January 14, 2021 08:58
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
type: bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants