Commit e1575b471031ecd1fb7deaf04a2ab8c8bb838742

Authored by decalage2
2 parents f07043b9 a9ece440

Merge remote-tracking branch 'origin/master'

Showing 1 changed file with 1 additions and 1 deletions
oletools/rtfobj.py
... ... @@ -722,7 +722,7 @@ class RtfObjParser(RtfParser):
722 722 def control_symbol(self, matchobject):
723 723 # log.debug('control symbol %r at index %Xh' % (matchobject.group(), self.index))
724 724 symbol = matchobject.group()[1:2]
725   - if symbol == "'":
  725 + if symbol == b"'":
726 726 # read the two hex digits following "\'" - which can be any characters, not just hex digits
727 727 # (because within an objdata destination, they are simply ignored)
728 728 hexdigits = self.data[self.index+2:self.index+4]
... ...