Allow None for globalSubrs in T2CharString

This commit is contained in:
Behdad Esfahbod 2013-11-18 14:11:30 -05:00
parent 7e97247925
commit 846d09e380

View File

@ -242,7 +242,7 @@ class T2CharString(ByteCodeBase):
self.bytecode = bytecode
self.program = program
self.private = private
self.globalSubrs = globalSubrs
self.globalSubrs = globalSubrs if globalSubrs is not None else []
def __repr__(self):
if self.bytecode is None: