BUG: Replaces is-check against string

Replaces an " is 'None' " check with " != None "
This commit is contained in:
jfkirk
2015-07-14 15:18:55 -04:00
parent 36319122cc
commit a7f967fb20
+1 -1
View File
@@ -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