Skip to content

Commit

Permalink
Tighten up values check
Browse files Browse the repository at this point in the history
  • Loading branch information
hancush committed Sep 27, 2021
1 parent 4d0d98b commit 1a13346
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sfm_pc/management/commands/import_google_doc.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ def get_conflicts(self, transpose=False):
entity_map = self if not transpose else self.get_transposed()

for key, values in entity_map.items():
if len(set(val for val in values.keys())) > 1:
if len(values) > 1:
yield key, values

def get_key_value_types(self, transpose=False):
Expand Down

0 comments on commit 1a13346

Please sign in to comment.