mirror of
https://github.com/shlomif/PySolFC.git
synced 2025-04-05 00:02:29 -04:00
2to3 on pysollib/winsystems/common.py
This commit is contained in:
parent
811a154974
commit
1e3f159eb0
1 changed files with 1 additions and 1 deletions
|
@ -62,7 +62,7 @@ def set_theme(app, top, theme):
|
||||||
def get_font_name(font):
|
def get_font_name(font):
|
||||||
# create font name
|
# create font name
|
||||||
# i.e. "helvetica 12" -> ("helvetica", 12, "roman", "normal")
|
# i.e. "helvetica 12" -> ("helvetica", 12, "roman", "normal")
|
||||||
from tkFont import Font
|
from six.moves.tkinter_font import Font
|
||||||
font_name = None
|
font_name = None
|
||||||
try:
|
try:
|
||||||
f = Font(font=font)
|
f = Font(font=font)
|
||||||
|
|
Loading…
Add table
Reference in a new issue