Skip to content

Adjust fix_display() to work when tkinter is not installed#225

Open
musicinmybrain wants to merge 1 commit intoscidash:masterfrom
musicinmybrain:no-tkinter
Open

Adjust fix_display() to work when tkinter is not installed#225
musicinmybrain wants to merge 1 commit intoscidash:masterfrom
musicinmybrain:no-tkinter

Conversation

@musicinmybrain
Copy link
Contributor

This handles the case where tkinter is None because it isn’t installed, e.g. on Fedora, the python3-tkinter subpackage is not installed.

sciunit/sciunit/base.py

Lines 17 to 20 in 1a2ca47

try:
import tkinter
except ImportError:
tkinter = None

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant