Commit f3c0b6f4c7e3dd67a7199faabcc0c7fda50bab5c

Authored by Christian Herdtweck
1 parent bce38265

ooxml: make py3-compatible

Showing 1 changed file with 1 additions and 1 deletions
oletools/ooxml.py
... ... @@ -482,7 +482,7 @@ class XmlParser(object):
482 482 """
483 483 if tags is None:
484 484 want_tags = []
485   - elif isinstance(tags, (str, unicode)):
  485 + elif isstr(tags):
486 486 want_tags = [tags, ]
487 487 logging.debug('looking for tags: {0}'.format(tags))
488 488 else:
... ...