Projet

Général

Profil

0001-misc-remove-unnecessary-encoding-44545.patch

Frédéric Péters, 29 juin 2020 12:03

Télécharger (892 octets)

Voir les différences:

Subject: [PATCH] misc: remove unnecessary encoding (#44545)

 passerelle_montpellier_encombrants/ods.py | 2 --
 1 file changed, 2 deletions(-)
passerelle_montpellier_encombrants/ods.py
96 96
    def __init__(self, worksheet, value, hint=None):
97 97
        if value is None:
98 98
            value = ''
99
        if type(value) is not unicode:
100
            value = unicode(value, 'utf-8')
101 99
        self.value = value
102 100
        self.worksheet = worksheet
103 101
        self.hint = hint
104
-