AutoCad bugfix, minor name corrections
This commit is contained in:
parent
9bf0e2112a
commit
5a359fb142
|
@ -339,8 +339,8 @@ def readStringFromStream(stream):
|
|||
tok = b_(")")
|
||||
elif tok == b_("\\"):
|
||||
tok = b_("\\")
|
||||
elif tok in (b_(" "), b_("/"), b_("%"), b_("<"), b_(">")):
|
||||
# odd escape sequences we have encountered
|
||||
elif tok in (b_(" "), b_("/"), b_("%"), b_("<"), b_(">"), b_("["), b_("]")):
|
||||
# odd/unnessecary escape sequences we have encountered
|
||||
tok = b_(tok)
|
||||
elif tok.isdigit():
|
||||
# "The number ddd may consist of one, two, or three
|
||||
|
|
|
@ -90,7 +90,7 @@ class PdfFileWriter(object):
|
|||
# info object
|
||||
info = DictionaryObject()
|
||||
info.update({
|
||||
NameObject("/Producer"): createStringObject(u"Python PDF Library - http://pybrary.net/pyPdf/")
|
||||
NameObject("/Producer"): createStringObject(u"PyPDF2")
|
||||
})
|
||||
self._info = self._addObject(info)
|
||||
|
||||
|
|
Loading…
Reference in New Issue