Project

General

Profile

Bug #44545

montpellier encombrants, notify sectors

Added by Frédéric Péters 7 days ago. Updated 7 days ago.

Status:
Résolu (à déployer)
Priority:
Normal
Target version:
-
Start date:
29 Jun 2020
Due date:
% Done:

0%

Patch proposed:
Yes
Planning:
No

Description

  File "/usr/lib/python3/dist-packages/django/core/management/base.py", line 330, in execute
    output = self.handle(*args, **options)
  File "/usr/lib/python3/dist-packages/passerelle_montpellier_encombrants/management/commands/notify_sectors.py", line 43, in handle
    email_sectors(response, tomorrow)
  File "/usr/lib/python3/dist-packages/passerelle_montpellier_encombrants/utils.py", line 115, in email_sectors
    ws.write(0, i, e)
  File "/usr/lib/python3/dist-packages/passerelle_montpellier_encombrants/ods.py", line 78, in write
    self.cells[row][column] = WorkCell(self, value, hint=hint)
  File "/usr/lib/python3/dist-packages/passerelle_montpellier_encombrants/ods.py", line 99, in __init__
    if type(value) is not unicode:
NameError: name 'unicode' is not defined

0001-misc-remove-unnecessary-encoding-44545.patch View (892 Bytes) Frédéric Péters, 29 Jun 2020 12:03 PM

Associated revisions

Revision 18e522f5 (diff)
Added by Frédéric Péters 7 days ago

misc: remove unnecessary encoding (#44545)

History

#2 Updated by Frédéric Péters 7 days ago

#3 Updated by Serghei Mihai 7 days ago

  • Assignee set to Frédéric Péters
  • Status changed from Solution proposée to Solution validée

#4 Updated by Frédéric Péters 7 days ago

  • Status changed from Solution validée to Résolu (à déployer)
commit 18e522f5542b467539ad30989b21dc8f95026bba
Author: Frédéric Péters <fpeters@entrouvert.com>
Date:   Mon Jun 29 12:02:31 2020 +0200

    misc: remove unnecessary encoding (#44545)

Also available in: Atom PDF