]> git.parisson.com Git - teleforma.git/commitdiff
avoid print
authorGuillaume Pellerin <guillaume.pellerin@free.fr>
Fri, 5 Jul 2024 09:27:55 +0000 (11:27 +0200)
committerGuillaume Pellerin <guillaume.pellerin@free.fr>
Fri, 5 Jul 2024 09:27:55 +0000 (11:27 +0200)
teleforma/exam/views.py

index b59841d087c1ab69ed544f7fd0e431d7bea98ea6..f59c5426e6b94c1eec549b1fa3c7a63dac901b79 100755 (executable)
@@ -205,11 +205,11 @@ class ScriptDownloadView(ScriptMixinView, CourseAccessMixin):
             can.setFillColorRGB(1,0,0)
             
             annotation_data = json.loads(annotation.content)
-            print(annotation_data)
+            print(annotation_data)
             text = "N/A"
             # we handle only point (comment) and textbox (text) annotations
             if annotation_data.get('type') == 'point':
-                print(annotation.uuid)
+                print(annotation.uuid)
                 # print(uuid)
                 comment = AnnotationComment.objects.get(annotation_id=annotation.annotation_id, uuid=annotation.uuid)
                 text = comment.content