mirror of
https://github.com/wassname/catalyst.git
synced 2026-07-04 16:12:46 +08:00
BUG: Replaces is-check against string
Replaces an " is 'None' " check with " != None "
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