Peter M. Groen
/
oletools
Toggle navigation
Sign in
Sign in
Project
Files
Commits
Network
Graphs
Milestones
Issues
0
Merge Requests
0
Labels
Wiki
Download as
Email Patches
Plain Diff
Browse Code ยป
Commit
f3c0b6f4c7e3dd67a7199faabcc0c7fda50bab5c
Authored by
Christian Herdtweck
2018-01-11 11:40:51 +0100
1 parent
bce38265
ooxml: make py3-compatible
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
oletools/ooxml.py
oletools/ooxml.py
View file @
f3c0b6f
...
...
@@ -482,7 +482,7 @@ class XmlParser(object):
482
482
"""
483
483
if tags is None:
484
484
want_tags = []
485
- elif is
instance(tags, (str, unicode)
):
485
+ elif is
str(tags
):
486
486
want_tags = [tags, ]
487
487
logging.debug('looking for tags: {0}'.format(tags))
488
488
else:
...
...