remove old panda support
This commit is contained in:
parent
4f8ebf4512
commit
9cd41c891c
|
|
@ -193,12 +193,7 @@ class Loader:
|
|||
# and spaceAdvance should be set last, since some of the
|
||||
# other parameters can cause these to be reset to their
|
||||
# default.
|
||||
|
||||
# temporary try..except for old Pandas.
|
||||
try:
|
||||
font.setLineHeight(lineHeight)
|
||||
except:
|
||||
pass
|
||||
font.setLineHeight(lineHeight)
|
||||
|
||||
if spaceAdvance != None:
|
||||
font.setSpaceAdvance(spaceAdvance)
|
||||
|
|
|
|||
Loading…
Reference in New Issue