Changed 'six.text_type' to 'six.string_types', since the former didn't seem to work in python2.7

master
Zach Rush 2019-09-13 12:09:02 -04:00
parent 4753519349
commit 4c6519cf43
1 changed files with 1 additions and 1 deletions

View File

@ -21,7 +21,7 @@ def _should_set_millisecond(cr, marking_type):
if marking_type == TLPMarking:
return True
# otherwise, precision is kept from how it was given
if isinstance(cr, six.text_type):
if isinstance(cr, six.string_types):
if '.' in cr:
return True
else: