Use string_types

This commit is contained in:
dmichalowicz
2016-04-28 15:28:19 -04:00
parent 85ae664d8c
commit 8d1ecb508a
+1 -1
View File
@@ -652,7 +652,7 @@ class TradingAlgorithm(object):
new_assets.add(identifier)
elif isinstance(identifier, Integral) and is_unknown(identifier):
new_sids.add(identifier)
elif isinstance(identifier, (bytes, unicode)):
elif isinstance(identifier, (string_types)):
new_symbols.add(identifier)
else:
try: