Mercurial > sat_legacy_website
diff sat_website/forms.py @ 94:c1b77f07f644
replace shipped file unicodecsv.py with the module of the same name
author | souliane <souliane@mailoo.org> |
---|---|
date | Tue, 23 Jun 2015 18:34:14 +0200 |
parents | 13ebb548f234 |
children | dc8a30f6c369 |
line wrap: on
line diff
--- a/sat_website/forms.py Tue Jun 16 21:26:58 2015 +0200 +++ b/sat_website/forms.py Tue Jun 23 18:34:14 2015 +0200 @@ -259,7 +259,7 @@ def writeResultToCSV(self): result = [unicode(value) for key, value in self.results(False)] with open(settings.ASSO_SUBSCR_CSV, 'a+') as csvfile: - writer = unicodecsv.UnicodeWriter(csvfile, delimiter=';') + writer = unicodecsv.writer(csvfile, delimiter=';') writer.writerow(result) def process_submitted_data(self):