diff options
| author | Étienne Loks <etienne.loks@iggdrasil.net> | 2019-02-27 20:44:52 +0100 |
|---|---|---|
| committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2019-06-17 13:21:27 +0200 |
| commit | 86c03a98d11e93880b4568776e0939113a92a707 (patch) | |
| tree | e07ad2e91e2544f7b2d61e8f3f653fdda26bfd52 /ishtar_common/management/commands/reassociate_similar_images.py | |
| parent | 52f442699a72ff5d0341a7d15d5b966a3cc2bd60 (diff) | |
| download | Ishtar-86c03a98d11e93880b4568776e0939113a92a707.tar.bz2 Ishtar-86c03a98d11e93880b4568776e0939113a92a707.zip | |
Migrate to python 3 - Clean old migrations and some old scripts
Diffstat (limited to 'ishtar_common/management/commands/reassociate_similar_images.py')
| -rw-r--r-- | ishtar_common/management/commands/reassociate_similar_images.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ishtar_common/management/commands/reassociate_similar_images.py b/ishtar_common/management/commands/reassociate_similar_images.py index a0483ed3a..0dbb3a765 100644 --- a/ishtar_common/management/commands/reassociate_similar_images.py +++ b/ishtar_common/management/commands/reassociate_similar_images.py @@ -160,8 +160,8 @@ class Command(BaseCommand): nb_conflicted_items += 1 for attr, ref_value, other_value in conflicted_values: conflicts.append(base_csv + [ - attr, unicode(ref_value).encode('utf-8'), - unicode(other_value).encode('utf-8') + attr, str(ref_value).encode('utf-8'), + str(other_value).encode('utf-8') ]) continue |
