]> git.parisson.com Git - teleforma.git/commitdiff
fix doc_read
authorGuillaume Pellerin <guillaume.pellerin@parisson.com>
Mon, 18 May 2026 21:57:29 +0000 (23:57 +0200)
committerGuillaume Pellerin <guillaume.pellerin@parisson.com>
Mon, 18 May 2026 21:57:29 +0000 (23:57 +0200)
teleforma/views/crfpa.py

index ca661b1ad38c584c5d629cafeb1b18edd3f4c986..0ba00b5351398f515abbe6af6ccf45a6a0975f6b 100644 (file)
@@ -1295,6 +1295,6 @@ class StudentReadingsXLSBook:
 
         row = 1
         for doc_read in self.student.user.private_documents.all():
-            self.sheet_docs.write(row, 0, str(media_read.media))
+            self.sheet_docs.write(row, 0, str(doc_read.media))
             row += 1