Skip to content

Commit

Permalink
fix issue with transformations
Browse files Browse the repository at this point in the history
  • Loading branch information
pierky committed Feb 15, 2017
1 parent 8aacca8 commit 8743c6e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pierky/p2es/readers.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ def apply_transformation(self, dic, tr):
dic[action['Name']] = new_val

elif action_type == 'AddFieldLookup':
if action['LookupFieldName'] not in dic:
if action['LookupFieldName'] in dic:
new_val = None

if str(dic[action['LookupFieldName']]) in action['LookupTable']:
Expand Down

0 comments on commit 8743c6e

Please sign in to comment.