Skip to content

Commit

Permalink
fixed taar.plugin to work with python2.7
Browse files Browse the repository at this point in the history
  • Loading branch information
crankycoder committed Jan 21, 2019
1 parent c2ff484 commit ebe295c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion taar/plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ def clean_promoted_guids(raw_promoted_guids):
break

if not (
isinstance(row[0], str)
(isinstance(row[0], str) or isinstance(row[0], unicode))
and (isinstance(row[1], int) or isinstance(row[1], float))
):
valid = False
Expand Down

0 comments on commit ebe295c

Please sign in to comment.