mirror of
https://github.com/wassname/catalyst.git
synced 2026-07-03 12:51:55 +08:00
Merge pull request #651 from quantopian/remove-string-is-checks
BUG: Replaces is-check against string
This commit is contained in:
@@ -877,7 +877,7 @@ class AssetFinder(object):
|
||||
try:
|
||||
row_value = row[field]
|
||||
# Avoid passing placeholders
|
||||
if row_value and (row_value is not 'None'):
|
||||
if row_value and (row_value != 'None'):
|
||||
metadata_dict[field] = row[field]
|
||||
except KeyError:
|
||||
continue
|
||||
|
||||
Reference in New Issue
Block a user