Skip to content

Commit

Permalink
not empty
Browse files Browse the repository at this point in the history
  • Loading branch information
bedroesb committed Oct 26, 2021
1 parent f4081e4 commit 5af2584
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ena_upload/ena_upload.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ def extract_targets(action, schema_dataframe):

for schema, dataframe in schema_dataframe.items():
filtered = dataframe.query(f'status=="{action}"')
if filtered.empty != True:
if not filtered.empty:
schema_targets[schema] = filtered

return schema_targets
Expand Down

0 comments on commit 5af2584

Please sign in to comment.